-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SR-11827] Missing "in" => bad diagnostic #2196
Comments
@swift-ci create |
Looks like this has been fixed recently:
Please verify using the most recent |
This sort of thing has come up before. I think we need a parser heuristic that would warn about argument-list-like syntax written on the same line as |
Additional Detail from JIRA
md5: 29d9832455f9840f7ae31e4c0ca0baec
Issue Description:
I've also seen, "Contextual type for closure argument list expects 1 argument, which cannot be implicitly ignored" (small reproducer harder to generate). Either way we should have an error saying "in" is missing and a fixit to insert it.
The text was updated successfully, but these errors were encountered: