Files
kotlin-fork/compiler/testData/diagnostics/testsWithJsStdLib/name/classInheritanceExtensions.fir.kt
T
Alexander Korepanov ea9e2eb41a [FIR JS] Add more tests for JS_NAME_CLASH and JS_FAKE_NAME_CLASH
^KT-59425 Related
^KT-59370 Related
2023-09-08 09:55:25 +00:00

12 lines
268 B
Kotlin
Vendored

// FIR_DIFFERENCE
// This case is only relevant for the JS Legacy BE and is not applicable to the JS IR backend,
// as the IR BE can resolve such name collisions.
open class Class {
fun Int.test() {}
val Int.test
get() = 0
}
class MyClass1 : Class()