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

11 lines
190 B
Kotlin
Vendored

// PROBLEM: none
fun test() {
var res: String? = null
var foo: String? = null
<caret>try {
res = "success"
} catch (e: Exception) {
foo = "exception"
}
}