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

12 lines
205 B
Plaintext
Vendored

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