From 20b011de19c507380164c46c04cce174842f8e9e Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Mon, 24 Apr 2023 06:52:37 +0200 Subject: refactoring in preparation for better, simpler name mangling that wor… (#21667) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * refactoring in preparation for better, simpler name mangling that works with IC flawlessly * use new disamb field * see if this makes tests green * make tests green again --- compiler/semparallel.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/semparallel.nim') diff --git a/compiler/semparallel.nim b/compiler/semparallel.nim index ced479dbe..420a1f2d6 100644 --- a/compiler/semparallel.nim +++ b/compiler/semparallel.nim @@ -486,7 +486,7 @@ proc liftParallel*(g: ModuleGraph; idgen: IdGenerator; owner: PSym; n: PNode): P checkArgs(a, body) var varSection = newNodeI(nkVarSection, n.info) - var temp = newSym(skTemp, getIdent(g.cache, "barrier"), nextSymId idgen, owner, n.info) + var temp = newSym(skTemp, getIdent(g.cache, "barrier"), idgen, owner, n.info) temp.typ = magicsys.getCompilerProc(g, "Barrier").typ incl(temp.flags, sfFromGeneric) let tempNode = newSymNode(temp) -- cgit 1.4.1-2-gfad0