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.
28 lines
924 B
Plaintext
Vendored
28 lines
924 B
Plaintext
Vendored
FILE: companionInvoke.kt
|
|
internal final class Method<out T : R|kotlin/String?|> : R|kotlin/Any| {
|
|
private constructor<out T : R|kotlin/String?|>(name: R|kotlin/String|, signature: R|T|): R|Method<T>| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final val name: R|kotlin/String| = R|<local>/name|
|
|
public get(): R|kotlin/String|
|
|
|
|
public final val signature: R|T| = R|<local>/signature|
|
|
public get(): R|T|
|
|
|
|
public final companion object Companion : R|kotlin/Any| {
|
|
private constructor(): R|Method.Companion| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final operator fun invoke(name: R|kotlin/String|): R|Method<kotlin/String?>| {
|
|
^invoke R|kotlin/TODO|()
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
public final fun foo(): R|kotlin/Unit| {
|
|
Q|Method|.R|/Method.Companion.invoke|(String(asd))
|
|
}
|