24 lines
525 B
Plaintext
Vendored
24 lines
525 B
Plaintext
Vendored
FILE: initBlock.kt
|
|
public final class Foo : R|kotlin/Any| {
|
|
public constructor(): R|Foo| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
init {
|
|
lval x: R|kotlin/Int| = Int(1)
|
|
}
|
|
|
|
}
|
|
public final class Bar : R|kotlin/Any| {
|
|
public constructor(): R|Bar| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
init {
|
|
lval x: R|kotlin/Int| = Int(1)
|
|
throw R|java/lang/Exception.Exception|()
|
|
lval y: R|kotlin/Int| = Int(2)
|
|
}
|
|
|
|
}
|