Files
kotlin-fork/idea/testData/inspectionsLocal/replacePutWithAssignment/beforeElvis.kt
T
2018-08-03 13:21:50 +03:00

6 lines
112 B
Kotlin
Vendored

// PROBLEM: none
// WITH_RUNTIME
fun test(i: Int?, m: MutableMap<String, Int>) {
m.<caret>put("", 1) ?: i
}