-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Sema] SR-9851 - Add parens when needed for nil coalescing fixits #22802
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
[Sema] SR-9851 - Add parens when needed for nil coalescing fixits #22802
Conversation
Thanks, @xcadaverx! I will take a look later tonight or tomorrow! |
@swift-ci please test |
Build failed |
Looks like mac failures are unrelated to these changes:
|
@swift-ci please smoke test macOS platform |
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, Thank you!
@swift-ci please test macOS platform |
Build failed |
Still failing because of this:
Did I break that somehow? :) |
@shahmishal This is the same error I am seeing on my PR #22712 Something seems to be wrong on the bot? |
I think it's okay to merge, I was just hoping that it's only reproducible on one machine. |
@xcadaverx Thanks again and please don't forget to resolve JIRA! |
https://bugs.swift.org/browse/SR-9851
This is a fix for parens not being added on certain nil coalescing fix-its due to a root expression not being passed down to
exprNeedsParensOutsideFollowingOperator
.Resolves SR-9851.