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

10 lines
167 B
Kotlin
Vendored

// FIR_IDENTICAL
package foo
class A
<!JS_NAME_CLASH!>@JsName("get_bar") fun A.get_bar()<!> = 23
val A.bar: Int
<!JS_NAME_CLASH!>@JsName("get_bar") get()<!> = 42