Files
kotlin-fork/idea/testData/intentions/replaceMapGetOrDefault/inExpression.kt
T
Toshiaki Kameyama f5c0a30c51 Add intention to replace "Map.getOrDefault"
#KT-21503 Fixed
2019-08-07 17:38:15 +03:00

5 lines
107 B
Kotlin
Vendored

// RUNTIME_WITH_FULL_JDK
fun test(map: Map<Int, String>) {
map.<caret>getOrDefault(1, "bar") + "baz"
}