Files
kotlin-fork/compiler/testData/diagnostics/testsWithJsStdLib/name/extensionPropertyAndMethod.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

12 lines
275 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.
package foo
class A
<!JS_NAME_CLASH!>fun A.get_bar()<!> = 23
val A.bar: Int
<!JS_NAME_CLASH!>get()<!> = 42