b47a33cf9d
The main purpose was to test getOrDefault w/ non/null value does not bother the resolution. To be aligned with test file mapGetOrDefault_nullable.kt, this one should test getOrDefault too. All we needed was // WITH_STDLIB
6 lines
105 B
Kotlin
Vendored
6 lines
105 B
Kotlin
Vendored
// WITH_STDLIB
|
|
|
|
fun box(map: MutableMap<String, String>) {
|
|
map.get<caret>OrDefault("key", "value")
|
|
}
|