mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-20 06:20:38 +00:00
@@ -396,7 +396,7 @@ proc deps(c: var Partitions; dest, src: PNode) =
|
||||
(src.sym.kind in {skLet, skParam, skForVar} and hasDisabledAsgn(src.sym.typ))):
|
||||
c.s[vid].flags.incl preventCursor
|
||||
|
||||
if hasDestructor(src.typ):
|
||||
if src.kind == nkSym and hasDestructor(src.typ):
|
||||
rhsIsSink(c, src)
|
||||
|
||||
proc traverse(c: var Partitions; n: PNode) =
|
||||
|
||||
Reference in New Issue
Block a user