system.substr is not implemented with compilerProcs anymore
This commit is contained in:
parent
16d8fab310
commit
5b59852406
8 changed files with 157 additions and 67 deletions
|
|
@ -278,6 +278,8 @@ proc analyseObjectWithTypeField(t: PType): TTypeFieldResult =
|
|||
proc isGCRef(t: PType): bool =
|
||||
result = t.kind in GcTypeKinds or
|
||||
(t.kind == tyProc and t.callConv == ccClosure)
|
||||
if result and t.kind in {tyString, tySequence} and tfHasAsgn in t.flags:
|
||||
result = false
|
||||
|
||||
proc containsGarbageCollectedRef*(typ: PType): bool =
|
||||
# returns true if typ contains a reference, sequence or string (all the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue