-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Diagnostics] Resolve SR-11677: Offer a better diagnostic when && is … #28033
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
Conversation
@swift-ci Please smoke test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The approach is solid. Just a few nits.
I still get tripped up on this bit of syntax, so thank you @RayZhao1998! |
…used in trailing where clause declaration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I'll move the test myself.
@swift-ci please smoke test |
Thanks! ⛵️ |
Thanks for your contribution! Please make sure to resolve the SR. |
Add a
&&
checker and improve the diagnostic to remind developer replacing&&
with comma instead of garbage diagnostics.Resolves SR-11677