8b1d87848d
Unwrapping should be done with respect to `forceUnitType` parameter. ^KT-65019: Fixed
12 lines
236 B
Kotlin
Vendored
12 lines
236 B
Kotlin
Vendored
fun box(): String {
|
|
var variable = 0
|
|
try {
|
|
try {
|
|
null!!
|
|
} finally {
|
|
variable--
|
|
}
|
|
} catch (e: NullPointerException) {
|
|
return if (variable == -1) "OK" else "Fail"
|
|
}
|
|
} |