mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-67556 (use highest language level in an artificial elements was a bad idea)
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
import pkg.Bar;
|
||||
import pkg.enum.Foo;
|
||||
|
||||
class Test {
|
||||
void m() {
|
||||
Bar b = new Bar();
|
||||
b.doSomething(Foo.FOO); // with language level JDK 1.4 'enum' shouldn't be a keyword (see IDEA-67556)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user