-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Issue #15831: enabled allowEmptySwitchBlockStatements property of WhitespaceAround in google_checks.xml #15839
Issue #15831: enabled allowEmptySwitchBlockStatements property of WhitespaceAround in google_checks.xml #15839
Conversation
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.
Ok to merge
wait build seems to be failing |
8c78fe9
to
60ab7cf
Compare
…rty of WhitespaceAround in google_checks.xml
case Integer i when (i == 0) -> {} | ||
// 2 violations above: | ||
// ''{' is not followed by whitespace.' | ||
// ''}' is not preceded with whitespace.' |
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.
Hmmm this bug was known but it didn't had an issue opened for it. Glad that we were able to solve it now.
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.
@Zopsss , testing base that you did at summer is awesome to prevent any problems.
We missed it as a lot of problems and we eliminated vast majority of them. But some still missed, it is ok. Main point that we unlikely to leak new regression.
build seems to be passing now :D |
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.
Ok to merge
Closes #15831
Enabled
allowEmptySwitchBlockStatements
, added test cases and updatedInputFormattedXxxxx
file