[FIR] Resolve ambiguities in Java static scopes

This commit is contained in:
Mikhail Glukhikh
2020-01-28 19:28:35 +03:00
parent 4c8905b00f
commit 2bb5740f47
16 changed files with 130 additions and 53 deletions
@@ -13,4 +13,4 @@ public class Bbb extends Aaa {
// FILE: b.kt
fun foo() = Bbb.<!AMBIGUITY!>i<!>
fun foo() = Bbb.i
@@ -4,9 +4,9 @@ import aa.B
fun use() {
// checking that CONST is of platform type
B.<!AMBIGUITY!>CONST<!> = null
B.<!AMBIGUITY!>CONST<!>?.<!UNRESOLVED_REFERENCE!>length<!>
B.<!AMBIGUITY!>CONST<!>.<!UNRESOLVED_REFERENCE!>length<!>
B.CONST = null
B.CONST?.length
B.CONST.length
}
// FILE: aa/A.java