regression test for KT-3107
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
fun foo(): String {
|
||||
val s = try {
|
||||
"OK"
|
||||
} catch (e: Exception) {
|
||||
try {
|
||||
""
|
||||
} catch (ee: Exception) {
|
||||
""
|
||||
}
|
||||
}
|
||||
|
||||
return s
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return foo()
|
||||
}
|
||||
Reference in New Issue
Block a user