summary refs log tree commit diff stats
path: root/compiler/semparallel.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2023-04-24 06:52:37 +0200
committerGitHub <noreply@github.com>2023-04-24 06:52:37 +0200
commit20b011de19c507380164c46c04cce174842f8e9e (patch)
treefcb690aa9dcd2eb74aaeecf7cce675ae2d3fc7cf /compiler/semparallel.nim
parent380dafcc32abed83148f5da78a2aaef608831f8a (diff)
downloadNim-20b011de19c507380164c46c04cce174842f8e9e.tar.gz
refactoring in preparation for better, simpler name mangling that wor… (#21667)
* 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
Diffstat (limited to 'compiler/semparallel.nim')
-rw-r--r--compiler/semparallel.nim2
1 files changed, 1 insertions, 1 deletions
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)