KT-2752: fix JsName with explicit use target. Add some tests for JsName with use targets

This commit is contained in:
Alexey Andreev
2016-06-03 13:05:52 +03:00
parent be0013d9f2
commit 725d13b72e
20 changed files with 138 additions and 41 deletions
@@ -3,10 +3,10 @@ package foo
fun bar(x: Int) = x
fun box(): Boolean {
fun box(): String {
assertEquals(23, bar(23))
assertEquals(42, foo.bar.x)
return true
return "OK"
}
// FILE: foobar.kt