Skip to content

Commit d079d0f

Browse files
committed
test fixes
1 parent 70a519b commit d079d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Interpreter/SDK/objc_fast_enumeration.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class X : CustomStringConvertible {
107107
// CHECK: X(2)
108108
// CHECK: X(1)
109109
var a3 = [X(3), X(2), X(1)]
110-
var nsa3 = (a3._buffer._asCocoaArray() as AnyObject) as! NSArray
110+
var nsa3: NSArray = a3._bridgeToObjectiveC()
111111
for x: AnyObject in nsa3 {
112112
print(x.description!)
113113
}

0 commit comments

Comments
 (0)