[NI] Clear partially resolved calls after resolve of top-level call
#KT-32433 Fixed
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// WITH_RUNTIME
|
||||
|
||||
import kotlin.collections.HashMap
|
||||
|
||||
class Inv1<T>
|
||||
|
||||
class Inv2<K, V>
|
||||
|
||||
class Something {
|
||||
val guilds = Inv2<Int, Inv1<String>>()
|
||||
|
||||
fun test() {
|
||||
guilds[0] = Inv1()
|
||||
}
|
||||
}
|
||||
|
||||
operator fun <K, V> Inv2<K, V>.set(key: K, value: V) { }
|
||||
|
||||
fun box(): String {
|
||||
Something().test()
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user