Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/cfg/propertiesAndInitBlocks.txt
T
2020-06-19 15:53:00 +03:00

59 lines
1.7 KiB
Plaintext
Vendored

FILE: propertiesAndInitBlocks.kt
public final inline fun run(block: R|() -> kotlin/Unit|): R|kotlin/Unit| {
R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()
}
public final val x1: R|kotlin/Int| = Int(1)
public get(): R|kotlin/Int|
public final var x2: R|kotlin/Int| = Int(1)
public get(): R|kotlin/Int| {
^ Int(1)
}
public set(value: R|kotlin/Int|): R|kotlin/Unit| {
F|/x2| = Int(1)
}
public final val x3: R|kotlin/Unit| = R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
local final fun foo(): R|kotlin/Unit| {
lval c: R|kotlin/Int| = Int(1).R|kotlin/Int.plus|(Int(1))
throw R|java/lang/Exception.Exception|()
}
local final class InitializerLocalClass : R|kotlin/Any| {
public[local] constructor(): R|InitializerLocalClass| {
super<R|kotlin/Any|>()
}
init {
throw R|java/lang/Exception.Exception|()
Int(1)
}
}
throw R|java/lang/Exception.Exception|()
}
)
public get(): R|kotlin/Unit| {
local final class GetterLocalClass : R|kotlin/Any| {
public[local] constructor(): R|GetterLocalClass| {
super<R|kotlin/Any|>()
}
init {
throw R|java/lang/Exception.Exception|()
}
}
}
public final val x4: R|kotlin/Int| = try {
Int(1)
}
catch (e: R|kotlin/Exception|) {
Int(2)
}
finally {
Int(0)
}
public get(): R|kotlin/Int|