Files
kotlin-fork/idea/testData/inspectionsLocal/replacePutWithAssignment/putAsExpression.kt
T
Mikhail Glukhikh a90e3c2e45 Add "replace map.put with assignment" to J2K
Related to KT-21502
2017-12-05 18:18:25 +03:00

7 lines
109 B
Kotlin
Vendored

// PROBLEM: none
// WITH_RUNTIME
val map = mutableMapOf(42 to "foo")
fun foo() = map.<caret>put(60, "bar")