Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
e74282753ae0fda39015b2d1cc9c31db24bb800c
/
.
/
idea
/
testData
/
codeInsight
/
unwrapAndRemove
/
removeFinally
/
finallyInBlock.kt
blob: 5a5db2ee401bea4d9c4cc09558b3fde899e36e9b [
file
]
// OPTION: 1
fun foo
(
n
:
Int
):
Int
{
try
{
n
/
0
}
catch
(
e
:
ArithmeticException
)
{
val m
=
-
1
m
}
catch
(
e
:
Exception
)
{
-
2
}
<caret>
finally
{
println
(
"finally"
)
}
return
0
}