diff options
author | Araq <rumpf_a@web.de> | 2018-12-05 19:49:37 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-12-05 19:49:37 +0100 |
commit | bc8cea26727fd20ad75fa7f0cccbe39ddb4d4c0c (patch) | |
tree | 83c68c2afb9942ba29c4877a912d015d06a0142c /compiler/semstmts.nim | |
parent | 1711a60f7b3968285bb753b2e98bfc4638d32a44 (diff) | |
download | Nim-bc8cea26727fd20ad75fa7f0cccbe39ddb4d4c0c.tar.gz |
fixes #9614 [backport]
Diffstat (limited to 'compiler/semstmts.nim')
-rw-r--r-- | compiler/semstmts.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semstmts.nim b/compiler/semstmts.nim index e0542e1e7..48aa75528 100644 --- a/compiler/semstmts.nim +++ b/compiler/semstmts.nim @@ -1268,7 +1268,7 @@ proc semProcAnnotation(c: PContext, prc: PNode; x.add(prc) # recursion assures that this works for multiple macro annotations too: - var r = semOverloadedCall(c, x, x, {skMacro}, {efNoUndeclared}) + var r = semOverloadedCall(c, x, x, {skMacro, skTemplate}, {efNoUndeclared}) if r == nil: # Restore the old list of pragmas since we couldn't process this prc.sons[pragmasPos] = n |