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,9 @@
package foo
open class Super {
<!JS_NAME_CLASH!>val foo = 23<!>
}
class Sub : Super() {
<!JS_NAME_CLASH!>fun foo() = 42<!>
}