Skip to content

Commit 8251c8f

Browse files
committed
[test] Update test for placeholder revert
1 parent 04684b0 commit 8251c8f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

validation-test/Sema/type_checker_crashers_fixed/issue-65360.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ let _: () -> Void = {
1313
// expected-error@-1 {{cannot convert value of type 'Any?' to specified type '(_, _)}}
1414
}
1515

16-
let _: () -> Void = {
16+
let _: () -> Void = { // expected-error {{unable to infer closure type in the current context}}
1717
for case (0)? in [a] {}
1818
for case (0, 0) in [a] {}
19-
// expected-error@-1 {{cannot convert value of type 'Any?' to expected element type '(_, _)'}}
2019
}

0 commit comments

Comments
 (0)