fix wrong backport containing idgen

This commit is contained in:
narimiran
2020-11-18 11:53:22 +01:00
parent 5977f553fc
commit 41569f9693

View File

@@ -305,7 +305,7 @@ proc considerAsgnOrSink(c: var TLiftCtx; t: PType; body, x, y: PNode;
body.add newHookCall(c, op, x, y)
result = true
elif op == nil and destructorOverriden:
op = produceSym(c.g, c.c, t, c.kind, c.info, c.idgen)
op = produceSym(c.g, c.c, t, c.kind, c.info)
body.add newHookCall(c, op, x, y)
result = true
elif tfHasAsgn in t.flags: