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.
24 lines
579 B
Plaintext
Vendored
24 lines
579 B
Plaintext
Vendored
FILE: objectDerivedFromInnerClass.kt
|
|
public final class Outer : R|kotlin/Any| {
|
|
public constructor(): R|Outer| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final inner class Inner : R|kotlin/Any| {
|
|
public constructor(): R|Outer.Inner| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
public final fun test(): R|kotlin/Unit| {
|
|
lval x: R|<anonymous>| = object : R|Outer.Inner| {
|
|
private constructor(): R|<anonymous>| {
|
|
super<R|Outer.Inner|>()
|
|
}
|
|
|
|
}
|
|
|
|
}
|