fixes #1025; don't know what this breaks

This commit is contained in:
Araq 2014-03-26 20:31:18 +01:00
commit 78cc4de9a1
3 changed files with 3 additions and 6 deletions

View file

@ -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