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

7 lines
132 B
Kotlin
Vendored

// FIR_IDENTICAL
package foo
<!JS_NAME_CLASH!>@JsName("x") fun foo(x: Int)<!> = x
<!JS_NAME_CLASH!>@JsName("x") fun bar()<!> = 42