KT-2752: add checkers for inconsistent usage of JsName

This commit is contained in:
Alexey Andreev
2016-06-01 18:28:06 +03:00
parent 638952e96e
commit 6e1a0901ac
27 changed files with 364 additions and 94 deletions
@@ -0,0 +1,18 @@
package foo
class A
class B
val A.foo: Int
get() = 32
val B.foo: Int
get() = 42
fun box(): String {
assertEquals(32, A().foo)
assertEquals(42, B().foo)
return "OK"
}