Skip to content

Commit 229305b

Browse files
markhbradyError Prone Team
authored and
Error Prone Team
committed
[StatementSwitchToExpressionSwitch] for direct conversion, fix scenario where variables defined in earlier cases are referenced in later cases, which can cause invalid generated code. Instead, hoist such variable definitions out of the switch block.
PiperOrigin-RevId: 729542544
1 parent f093681 commit 229305b

File tree

2 files changed

+540
-30
lines changed

2 files changed

+540
-30
lines changed

0 commit comments

Comments
 (0)