mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-13 10:01:22 +07:00
Also: allow a custom highlighter to supersede the default one GitOrigin-RevId: c7d7a8be3ef762c9516ed3b637d467d4b544af00
10 lines
217 B
Java
10 lines
217 B
Java
class IncompleteSwitch {
|
|
public void testExpression(char o) {
|
|
int i = switch (o) {
|
|
case '2':
|
|
yield 2;
|
|
case char a when a == '1'<EOLError descr="':' or '->' expected"></EOLError>
|
|
};
|
|
}
|
|
}
|