[FIR JS] Add more tests for JS_NAME_CLASH and JS_FAKE_NAME_CLASH

^KT-59425 Related
^KT-59370 Related
This commit is contained in:
Alexander Korepanov
2023-09-04 20:29:23 +02:00
committed by Space Team
parent 6bb939c6cb
commit ea9e2eb41a
20 changed files with 2366 additions and 0 deletions
@@ -0,0 +1,11 @@
// 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()