KT-2752: add diagnostic that checks whether Kotlin declarations produce conflicting names in generated JS
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// FILE: foo.kt
|
||||
|
||||
package foo
|
||||
|
||||
<!JS_NAME_CLASH!>fun bar() = 23<!>
|
||||
|
||||
// FILE: foobar.kt
|
||||
|
||||
package foo.bar
|
||||
|
||||
val x = 42
|
||||
Reference in New Issue
Block a user