bd66b96f8a
In some cases we transform flexible type into non-flexible during enhancement, but don't add `@EnhancedNullability` attribute to them, which breaks consistency with K1 on IR level This commit fixes it ^KT-65302
11 lines
188 B
Kotlin
Vendored
11 lines
188 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// TARGET_BACKEND: JVM
|
|
// WITH_STDLIB
|
|
// FULL_JDK
|
|
|
|
class Owner {
|
|
fun <T> foo(x: T, y: T) {
|
|
val map = mutableMapOf<T, T>()
|
|
map.putIfAbsent(x, y)
|
|
}
|
|
} |