[FIR] Rework resolution of declaration statuses
There is introduced algorithm of resolution with jumps: before resolution of some class we resolve all status of members of its supertypes, so we can properly determine inherited visibility and modifiers
This commit is contained in:
+2
-2
@@ -10,7 +10,7 @@ class B : A() {
|
||||
}
|
||||
|
||||
fun test(b: B) {
|
||||
b.x()
|
||||
b.<!HIDDEN!>x<!>()
|
||||
}
|
||||
|
||||
|
||||
@@ -37,4 +37,4 @@ class F : C(), T {
|
||||
|
||||
class G : C(), T {
|
||||
public override fun foo() {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user