[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:
+18
@@ -0,0 +1,18 @@
|
||||
// FILE: C.kt
|
||||
|
||||
class C : B() {
|
||||
override fun foo() {}
|
||||
}
|
||||
|
||||
// FILE: B.java
|
||||
|
||||
public class B extends A {
|
||||
@java.lang.Override
|
||||
public void foo() {}
|
||||
}
|
||||
|
||||
// FILE: A.kt
|
||||
|
||||
abstract class A {
|
||||
abstract fun foo()
|
||||
}
|
||||
Reference in New Issue
Block a user