8e347f9f39
* Functions with IrExpressionBody are lowered to IrBlockBody * Implemented throwUninitializedPropertyAccessException function
13 lines
190 B
Kotlin
Vendored
13 lines
190 B
Kotlin
Vendored
class A {
|
|
public lateinit var str: String
|
|
}
|
|
|
|
fun box(): String {
|
|
val a = A()
|
|
try {
|
|
a.str
|
|
} catch (e: RuntimeException) {
|
|
return "OK"
|
|
}
|
|
return "FAIL"
|
|
} |