We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29e840e commit 91b406aCopy full SHA for 91b406a
test/stdlib/WeakMirror.swift
@@ -113,10 +113,10 @@ mirrors.test("class/NativeSwiftClassHasNativeWeakReferenceNoLeak") {
113
let mirror = Mirror(reflecting: parent)
114
let children = Array(mirror.children)
115
let extractedChild = children[0].1 as! NativeSwiftClass
116
- // If child is destroyed, the above cast will fail.
117
- _fixLifetime(child)
118
expectNotNil(extractedChild)
119
expectNotNil(verifier)
+ // If child is destroyed, the above cast and checks will fail.
+ _fixLifetime(child)
120
}
121
expectNil(verifier)
122
0 commit comments