7145caca40
Before this commit, we had effective visibility as a part of FIR status, so it was integrated into the full pipeline. In this commit, we introduced "effective visibility as a service" which is now used only by exposed visibility checker. This allows us to make the thing universal for all FIR nodes, including nodes for Java / deserialized.
18 lines
195 B
Kotlin
Vendored
18 lines
195 B
Kotlin
Vendored
// FILE: I.kt
|
|
|
|
open class I : K() {
|
|
fun foo() {}
|
|
}
|
|
|
|
// FILE: J.java
|
|
|
|
class J extends I {
|
|
void bar() {}
|
|
}
|
|
|
|
// FILE: K.kt
|
|
|
|
open class K : <!EXPOSED_SUPER_CLASS!>J<!>() {
|
|
fun baz() {}
|
|
}
|