blob: f3cc038e53d81fa189835096c25cb24fa5f218b6 [file]
// RUN_PIPELINE_TILL: BACKEND
// 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() {}
}