Skip to content

Commit 27c0da3

Browse files
committed
Remove incorrect comment in test file.
1 parent c40fd39 commit 27c0da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Constraints/sr7884.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ func f<T>(_ x: T?) -> T? {
99
return x
1010
}
1111

12-
let r = f(1) // calls optional variant
12+
let r = f(1)
1313
let _ = r! // expected-error {{cannot force unwrap value of non-optional type 'Int'}}
1414

1515
// SR-7899

0 commit comments

Comments
 (0)