mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-25 07:51:30 +07:00
postpone highlighting on conditions when errors occur on containing call
poly conditional expression receives type from context, if context contains errors, it's better to highlight those first (IDEA-185540)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
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) {}
|
||||
}
|
||||
Reference in New Issue
Block a user