-
Notifications
You must be signed in to change notification settings - Fork 747
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[StatementSwitchToExpressionSwitch] for direct conversion pattern, if…
… the switch has a `default:` clause and is otherwise exhaustive (even without said `default:` clause), then propose an alternative fix which removes the `default:` clause and its code. The first fix always retains the `default:` clause. PiperOrigin-RevId: 713693052
- Loading branch information
1 parent
91ff1af
commit c2cb0f8
Showing
2 changed files
with
591 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.