ARC works for async on Windows (#13179)
This commit is contained in:
parent
796aafe7e0
commit
7626907401
5 changed files with 110 additions and 40 deletions
|
|
@ -366,8 +366,8 @@ proc canFormAcycleAux(marker: var IntSet, typ: PType, startId: int): bool =
|
|||
else: discard
|
||||
|
||||
proc isFinal*(t: PType): bool =
|
||||
var t = t.skipTypes(abstractInst)
|
||||
result = t.kind != tyObject or tfFinal in t.flags
|
||||
let t = t.skipTypes(abstractInst)
|
||||
result = t.kind != tyObject or tfFinal in t.flags or isPureObject(t)
|
||||
|
||||
proc canFormAcycle*(typ: PType): bool =
|
||||
var marker = initIntSet()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue