[FIR JS] Support JS_NAME_CLASH and JS_FAKE_NAME_CLASH diagnostics
^KT-59425 Fixed ^KT-59370 Fixed
This commit is contained in:
committed by
Space Team
parent
5ac277d058
commit
6bb939c6cb
@@ -1,5 +1,8 @@
|
||||
// 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. Furthermore, the IR BE mangles names differently.
|
||||
package foo
|
||||
|
||||
<!JS_NAME_CLASH!>fun bar(x: Int)<!> = x
|
||||
|
||||
<!JS_NAME_CLASH!>fun `bar_za3lpa$`()<!> = 42
|
||||
<!JS_NAME_CLASH!>fun `bar_za3lpa$`()<!> = 42
|
||||
|
||||
Reference in New Issue
Block a user