mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
IDEA-203845 com.intellij.util.IncorrectOperationException: Incorrect statement 'else
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// "Unwrap 'switch'" "true"
|
||||
public class One {
|
||||
void f1(String a) {
|
||||
System.out.println("None");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Unwrap 'switch'" "true"
|
||||
public class One {
|
||||
void f1(String a) {
|
||||
sw<caret>itch (a) {
|
||||
default -> System.out.println("None");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user