mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-15 11:12:59 +07:00
primitive/class conversions are available since language level 1.5 (IDEA-111451)
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
class Test {
|
||||
public static void main(String[] args) {
|
||||
Object o = null;
|
||||
if (<error descr="Operator '==' cannot be applied to 'java.lang.Object', 'int'">o == 1</error>) {}
|
||||
if (1 == o) {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user