Files
kotlin/idea/testData/codeInsight/unwrapAndRemove/removeFinally/finallyInBlock.kt.after
2013-06-21 19:32:09 +04:00

16 lines
205 B
Plaintext
Vendored

// OPTION: 1
fun foo(n: Int): Int {
try {
n / 0
}
catch (e: ArithmeticException) {
val m = -1
m
}
catch (e: Exception) {
-2
}<caret>
return 0
}