blob: 2afa4edac1a8ca8bedb0f7eb4c22f64604854ea4 [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.
package foo
open class Super {
<!JS_NAME_CLASH!>fun foo()<!> = 23
}
class Sub : Super() {
<!JS_NAME_CLASH!>@JsName("foo") fun bar()<!> = 42
}