fixes #1025; don't know what this breaks
This commit is contained in:
parent
9fdb131686
commit
78cc4de9a1
3 changed files with 3 additions and 6 deletions
|
|
@ -365,8 +365,6 @@ proc semTemplBody(c: var TemplCtx, n: PNode): PNode =
|
|||
result.sons[0] = semTemplBody(c, n.sons[0])
|
||||
of nkPostfix:
|
||||
result.sons[1] = semTemplBody(c, n.sons[1])
|
||||
of nkPragma:
|
||||
discard
|
||||
else:
|
||||
# dotExpr is ambiguous: note that we explicitely allow 'x.TemplateParam',
|
||||
# so we use the generic code for nkDotExpr too
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue