Add intention to replace "Map.getOrDefault"

#KT-21503 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-08-02 12:29:54 +09:00
committed by Ilya Kirillov
parent e09ae645b3
commit f5c0a30c51
16 changed files with 146 additions and 1 deletions
@@ -0,0 +1,4 @@
// RUNTIME_WITH_FULL_JDK
fun test(map: Map<Int, String>) {
map.<caret>getOrDefault(1, "bar") + "baz"
}