From 25dc5f76e024de88478bc6ee3b559e731f227b69 Mon Sep 17 00:00:00 2001 From: cooldome Date: Fri, 28 Feb 2020 09:54:17 +0000 Subject: [PATCH] fixes #12627 (#13521) * fixes #12627 --- compiler/sem.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/sem.nim b/compiler/sem.nim index 7cd0aa6f2079..831e16017512 100644 --- a/compiler/sem.nim +++ b/compiler/sem.nim @@ -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