summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authornarimiran <narimiran@disroot.org>2019-11-24 09:50:52 +0100
committernarimiran <narimiran@disroot.org>2019-11-24 09:50:52 +0100
commit015bec625461826c3891110182b982c5dbb3208a (patch)
tree086b8566b5c7af2ba509c2b24c8776c4e1482f5e /compiler
parent8b2f8f5430e8c328efe5bce94e397f15e3c501af (diff)
downloadNim-015bec625461826c3891110182b982c5dbb3208a.tar.gz
Revert "ARC: another critical bugfix; temporary tuples we introduce for tuple unpackaging are not owning the data"
This reverts commit 8b2f8f5430e8c328efe5bce94e397f15e3c501af.
Diffstat (limited to 'compiler')
-rw-r--r--compiler/lowerings.nim1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/lowerings.nim b/compiler/lowerings.nim
index 96afc4828..0922ab088 100644
--- a/compiler/lowerings.nim
+++ b/compiler/lowerings.nim
@@ -60,7 +60,6 @@ proc lowerTupleUnpacking*(g: ModuleGraph; n: PNode; owner: PSym): PNode =
   var temp = newSym(skTemp, getIdent(g.cache, genPrefix), owner, value.info, g.config.options)
   temp.typ = skipTypes(value.typ, abstractInst)
   incl(temp.flags, sfFromGeneric)
-  incl(temp.flags, sfCursor)
 
   var v = newNodeI(nkVarSection, value.info)
   let tempAsNode = newSymNode(temp)