more arc features (#13098)
* config update * ARC now supports 'repr' and 'new' with finalizers is supported
This commit is contained in:
parent
c0973d1b47
commit
767592a3c3
7 changed files with 252 additions and 13 deletions
|
|
@ -758,6 +758,7 @@ proc track(tracked: PEffects, n: PNode) =
|
|||
if n[1].typ.len > 0:
|
||||
createTypeBoundOps(tracked, n[1].typ.lastSon, n.info)
|
||||
createTypeBoundOps(tracked, n[1].typ, n.info)
|
||||
# new(x, finalizer): Problem: how to move finalizer into 'createTypeBoundOps'?
|
||||
|
||||
if a.kind == nkSym and a.sym.name.s.len > 0 and a.sym.name.s[0] == '=' and
|
||||
tracked.owner.kind != skMacro:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue