don't highlight part of poly conditional expression when it's type is not defined, would be highlighted on top level (IDEA-171431)

This commit is contained in:
Anna.Kozlova
2017-04-29 19:28:48 +02:00
parent 3895d5a1dd
commit 568bb75fbc
3 changed files with 18 additions and 0 deletions
@@ -0,0 +1,10 @@
class Test{
void test() {
B b = new B<error descr="'B(java.lang.String, java.lang.String)' in 'Test.B' cannot be applied to '(?)'">(true == false ? "bar" : null)</error>;
}
class B {
B(String c, String d ) {}
}
}