Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
quickfix
/
foldTryCatch
/
multipleExceptions.kt.after
blob: 94f4f61b8ec418b65beb177e3533fd4f45b3d4f7 [
file
] [
log
] [
blame
]
// "Lift assignment out of 'try' expression" "true"
// WITH_RUNTIME
fun foo
()
{
val x
:
Int
x
=
try
{
1
}
catch
(
e
:
RuntimeException
)
{
2
}
catch
(
e
:
Exception
)
{
3
}
catch
(
e
:
Throwable
)
{
4
}
}