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.
20 lines
548 B
Plaintext
Vendored
20 lines
548 B
Plaintext
Vendored
FILE: localImplicitBodies.kt
|
|
public final fun foo(): R|kotlin/Unit| {
|
|
lval x: R|<anonymous>| = object : R|kotlin/Any| {
|
|
private constructor(): R|<anonymous>| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final fun sss(): R|kotlin/Int| {
|
|
^sss this@R|/<anonymous>|.R|/<anonymous>.abc|()
|
|
}
|
|
|
|
public final fun abc(): R|kotlin/Int| {
|
|
^abc Int(1)
|
|
}
|
|
|
|
}
|
|
|
|
lval g: R|kotlin/Int| = R|<local>/x|.R|/<anonymous>.sss|()
|
|
}
|