Skip to content

Commit

Permalink
fixes #12627 (#13521)
Browse files Browse the repository at this point in the history
* fixes #12627
  • Loading branch information
cooldome authored Feb 28, 2020
1 parent 1056f9e commit 25dc5f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/sem.nim
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ proc semAfterMacroCall(c: PContext, call, macroResult: PNode,
if c.config.evalTemplateCounter > evalTemplateLimit:
globalError(c.config, s.info, "template instantiation too nested")
c.friendModules.add(s.owner.getModule)

idSynchronizationPoint(5000)
result = macroResult
excl(result.flags, nfSem)
#resetSemFlag n
Expand Down

0 comments on commit 25dc5f7

Please sign in to comment.