Files
kotlin-fork/compiler/testData/diagnostics/testsWithJsStdLib/name/bridgeClash.kt
T
Alexander Korepanov 6bb939c6cb [FIR JS] Support JS_NAME_CLASH and JS_FAKE_NAME_CLASH diagnostics
^KT-59425 Fixed
^KT-59370 Fixed
2023-09-08 09:55:25 +00:00

19 lines
242 B
Kotlin
Vendored

// FIR_IDENTICAL
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()<!>
}