Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/callResolution/companionInvoke.txt
T
Nick 7145caca40 [FIR] Refactor effective visibility calculation
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.
2020-07-31 19:27:58 +03:00

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))
}