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,12 @@
package foo
@JsName("bar") fun foo(x: Int) = x
private fun bar() = 42
fun box(): String {
assertEquals(23, foo(23))
assertEquals(42, bar())
return "OK"
}