Files
kotlin-fork/idea/testData/inspectionsLocal/liftOut/tryToAssignment/cascade.kt.after
T
2017-07-11 15:14:30 +03:00

18 lines
313 B
Plaintext
Vendored

// WITH_RUNTIME
fun test() {
var res: String? = null
<caret>res = try {
try {
"success"
} catch (e: Exception) {
TODO()
}
} catch (e: Exception) {
try {
TODO()
} catch (e: Exception) {
"failure"
}
}
}