KT-2752: add diagnostic that checks whether Kotlin declarations produce conflicting names in generated JS

This commit is contained in:
Alexey Andreev
2016-05-27 15:33:03 +03:00
parent f70b50b6e2
commit 8f829557c8
26 changed files with 381 additions and 1 deletions
@@ -0,0 +1,11 @@
// FILE: foo.kt
package foo
<!JS_NAME_CLASH!>fun bar() = 23<!>
// FILE: foobar.kt
package foo.bar
val x = 42