Skip to content

[IfChainToSwitch] Add support for `if` predicates that contain multip…

9114df6
Select commit
Loading
Failed to load commit list.
Merged

[IfChainToSwitch] Add support for if predicates that contain multiple comparisons ORed together, e.g. ... else if(x == 1 || x == 2) {...} ... transforms to switch (x) { ... case 1, 2 -> {...} ...}. Also supports enum comparison. #5528

[IfChainToSwitch] Add support for `if` predicates that contain multip…
9114df6
Select commit
Loading
Failed to load commit list.