[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
+2
-1
@@ -1,7 +1,8 @@
|
||||
// FIR_IDENTICAL
|
||||
package foo
|
||||
|
||||
class A(val x: String) {
|
||||
@JsName("aa") <!JS_NAME_CLASH!>constructor(x: Int)<!> : this("int $x")
|
||||
}
|
||||
|
||||
<!JS_NAME_CLASH!>fun aa()<!> {}
|
||||
<!JS_NAME_CLASH!>fun aa()<!> {}
|
||||
|
||||
Reference in New Issue
Block a user