fixes #4227
This commit is contained in:
parent
6ff66bfd51
commit
6d76df8454
5 changed files with 32 additions and 7 deletions
|
|
@ -24,7 +24,7 @@ proc evalPattern(c: PContext, n, orig: PNode): PNode =
|
|||
of skMacro:
|
||||
result = semMacroExpr(c, n, orig, s)
|
||||
of skTemplate:
|
||||
result = semTemplateExpr(c, n, s)
|
||||
result = semTemplateExpr(c, n, s, {efFromHlo})
|
||||
else:
|
||||
result = semDirectOp(c, n, {})
|
||||
if optHints in gOptions and hintPattern in gNotes:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue