We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04684b0 commit 8251c8fCopy full SHA for 8251c8f
validation-test/Sema/type_checker_crashers_fixed/issue-65360.swift
@@ -13,8 +13,7 @@ let _: () -> Void = {
13
// expected-error@-1 {{cannot convert value of type 'Any?' to specified type '(_, _)}}
14
}
15
16
-let _: () -> Void = {
+let _: () -> Void = { // expected-error {{unable to infer closure type in the current context}}
17
for case (0)? in [a] {}
18
for case (0, 0) in [a] {}
19
- // expected-error@-1 {{cannot convert value of type 'Any?' to expected element type '(_, _)'}}
20
0 commit comments