17 lines
229 B
Kotlin
Vendored
17 lines
229 B
Kotlin
Vendored
fun foo(): String {
|
|
val s = try {
|
|
"OK"
|
|
} catch (e: Exception) {
|
|
try {
|
|
""
|
|
} catch (ee: Exception) {
|
|
""
|
|
}
|
|
}
|
|
|
|
return s
|
|
}
|
|
|
|
fun box(): String {
|
|
return foo()
|
|
} |