Skip to content

Commit 60afba4

Browse files
Missing try
1 parent 2d438c2 commit 60afba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

InteropTests/Tests/DeprecationTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ class DeprecationTests: XCTestCase {
1212
_ = try (nil as IDeprecatedInterface?)?.property
1313
try (nil as IDeprecatedInterface?)?.method()
1414
try (nil as IDeprecatedInterface?)?.event {}
15-
DeprecatedClass(42).method()
15+
try DeprecatedClass(42).method()
1616
}
1717
}

0 commit comments

Comments
 (0)