summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2020-09-20 09:01:42 +0200
committerAndreas Rumpf <rumpf_a@web.de>2020-09-20 10:43:57 +0200
commit33be7c6f5ef1a9e54d037682984f563c8ee11fcb (patch)
treef147553dd982de0313be33bba8ce2d24429ccfa4 /compiler
parentebb632ccba0d786b90684e4da2b393cfae04a24c (diff)
downloadNim-33be7c6f5ef1a9e54d037682984f563c8ee11fcb.tar.gz
arc: =deepcopy fixes
Diffstat (limited to 'compiler')
-rw-r--r--compiler/varpartitions.nim1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/varpartitions.nim b/compiler/varpartitions.nim
index 743c4d55d..f983f9416 100644
--- a/compiler/varpartitions.nim
+++ b/compiler/varpartitions.nim
@@ -459,7 +459,6 @@ proc traverse(c: var Partitions; n: PNode) =
           if paramType.kind == tyVar:
             if c.inNoSideEffectSection == 0:
               for r in roots: potentialMutation(c, r, it.info)
-          else:
             for r in roots: noCursor(c, r)
 
   of nkAddr, nkHiddenAddr: