File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -558,14 +558,12 @@ func verifyWeakUnownedReflection
558
558
expectEqual ( child. label, name)
559
559
expectNotNil ( child. value)
560
560
561
- // FIXME: These casts are currently broken (Dec 2019)
562
- // Once they are fixed, enable additional checks:
563
- //let vp1 = child.value as? WeakUnownedTestsP1
564
- //expectNotNil(vp1)
565
- //expectEqual(vp1!.f1(), 2)
566
- //let vp2 = child.value as? WeakUnownedTestsP2
567
- //expectNotNil(vp2)
568
- //expectEqual(vp2!.f2(), "b")
561
+ let vp1 = child. value as? WeakUnownedTestsP1
562
+ expectNotNil ( vp1)
563
+ expectEqual ( vp1!. f1 ( ) , 2 )
564
+ let vp2 = child. value as? WeakUnownedTestsP2
565
+ expectNotNil ( vp2)
566
+ expectEqual ( vp2!. f2 ( ) , " b " )
569
567
570
568
let v = child. value as? ExpectedClass
571
569
expectNotNil ( v)
You can’t perform that action at this time.
0 commit comments