[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:
+1
-1
@@ -100,7 +100,7 @@ FILE: protectedVisibility.kt
|
||||
super<R|Generic<kotlin/Int>|>(Int(1))
|
||||
}
|
||||
|
||||
public final override fun foo(): R|kotlin/Int| {
|
||||
protected final override fun foo(): R|kotlin/Int| {
|
||||
^foo this@R|/DerivedGeneric|.super<R|Generic<kotlin/Int>|>.R|FakeOverride</Generic.foo: R|kotlin/Int|>|()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user