// IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME import kotlin.collections.HashMap class Inv1 class Inv2 class Something { val guilds = Inv2>() fun test() { guilds[0] = Inv1() } } operator fun Inv2.set(key: K, value: V) { } fun box(): String { Something().test() return "OK" }