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.
26 lines
593 B
Plaintext
Vendored
26 lines
593 B
Plaintext
Vendored
FILE: annotatedLocalClass.kt
|
|
public final annotation class Ann : R|kotlin/Annotation| {
|
|
public constructor(): R|Ann| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
public final fun foo(b: R|kotlin/Boolean|): R|kotlin/Unit| {
|
|
when () {
|
|
R|<local>/b| -> {
|
|
^foo Unit
|
|
}
|
|
}
|
|
|
|
@R|Ann|() local final class Local : R|kotlin/Any| {
|
|
public constructor(): R|Local| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
|
|
R|/bar|()
|
|
}
|
|
public final fun bar(): R|kotlin/Unit| {
|
|
}
|