blob: 57c870cff7e310040141b35a47704c51db23d9aa [file]
// In K2, the name collision detector is weakened, because the backend started to resolve such collisions.
// K1 was not changed since it's in maintenance mode.
interface I {
fun foo()
}
interface J {
@JsName("bar")
fun foo()
}
interface K : I, J {
override fun foo()
}
interface L : K {
<!JS_NAME_CLASH!>override fun foo()<!>
<!JS_NAME_CLASH!>fun bar()<!>
}