Details
Description
When the content of the block in a case "with arrow" is not an expression, it is not possible to remove the block.
switch (mode) { case "a" -> { // FP return 1; } case "b" -> { // FP if (result == 1) { doSomethingElse(); } } default -> doSomethingElse(); }
Attachments
Issue Links
- links to