Files
kotlin-fork/idea/resources/intentionDescriptions/ReplaceMapGetOrDefaultIntention/after.kt.template
T
Toshiaki Kameyama f5c0a30c51 Add intention to replace "Map.getOrDefault"
#KT-21503 Fixed
2019-08-07 17:38:15 +03:00

3 lines
68 B
Plaintext

fun test(map: Map<Int, String>) {
map<spot>[1] ?: "foo"</spot>
}