blob: b8801106d71974a8385d7dc05a325b8f0bcc182a [file]
// RUN_PIPELINE_TILL: CODEGEN
// 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 {
@JsName("bar")
fun foo()
@JsName("foo")
fun bar()
}
interface J {
fun foo()
fun bar()
}
class A : I, J {
override fun bar() {}
override fun foo() {}
}