mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 18:50:59 +07:00
poly conditional expression receives type from context, if context contains errors, it's better to highlight those first (IDEA-185540)
9 lines
231 B
Java
9 lines
231 B
Java
class Test {
|
|
|
|
void test(int num) {
|
|
m<error descr="'m(java.lang.String, int)' in 'Test' cannot be applied to '(java.lang.Integer)'">(num == 1 ? null : new Integer(1))</error>;
|
|
}
|
|
|
|
void m(String s, int i) {}
|
|
}
|