* fixes #12627
This commit is contained in:
cooldome
2020-02-28 09:54:17 +00:00
committed by GitHub
parent 1056f9ecff
commit 25dc5f76e0

View File

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