allows a destructor to be attached to a tyString/tySequence
This commit is contained in:
parent
4ec91a30c4
commit
ef4b755183
4 changed files with 28 additions and 17 deletions
|
|
@ -1088,9 +1088,9 @@ proc newSym*(symKind: TSymKind, name: PIdent, owner: PSym,
|
|||
result.id = getID()
|
||||
when debugIds:
|
||||
registerId(result)
|
||||
#if result.id == 93289:
|
||||
#if result.id == 77131:
|
||||
# writeStacktrace()
|
||||
# MessageOut(name.s & " has id: " & toString(result.id))
|
||||
# echo name.s
|
||||
|
||||
proc isMetaType*(t: PType): bool =
|
||||
return t.kind in tyMetaTypes or
|
||||
|
|
@ -1272,7 +1272,7 @@ proc newType*(kind: TTypeKind, owner: PSym): PType =
|
|||
when debugIds:
|
||||
registerId(result)
|
||||
when false:
|
||||
if result.id == 205734:
|
||||
if result.id == 76426:
|
||||
echo "KNID ", kind
|
||||
writeStackTrace()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue