[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
@@ -30,7 +30,7 @@ fun test() {
B.a
B.foo()
B.foo(1)
B.<!AMBIGUITY!>b<!>
B.b
B.bar()
B.bar(1)
}
@@ -28,5 +28,5 @@ fun test() {
B.field
E.<!AMBIGUITY!>field<!>
O.<!AMBIGUITY!>field<!>
O.field
}
@@ -25,8 +25,8 @@ public class O implements A, B {
fun test() {
A.field
B.<!AMBIGUITY!>field<!>
B.field
E.<!AMBIGUITY!>field<!>
O.<!AMBIGUITY!>field<!>
O.field
}
@@ -57,10 +57,10 @@ fun test() {
D.field
E.<!AMBIGUITY!>field<!>
O.<!AMBIGUITY!>field<!>
O.field
EE.<!AMBIGUITY!>field<!>
EO.<!AMBIGUITY!>field<!>
EO.field
OO.<!AMBIGUITY!>field<!>
OO.field
}
@@ -47,7 +47,7 @@ fun test() {
D.bar()
D.baz()
E.<!AMBIGUITY!>a<!>
E.a
E.b
E.c
E.bar()