JS: add support of JsQualifier annotation. See KT-15905

This commit is contained in:
Alexey Andreev
2017-01-24 14:43:21 +03:00
parent 6624736ccf
commit cc67f6c9f7
13 changed files with 165 additions and 10 deletions
+15
View File
@@ -0,0 +1,15 @@
// MODULE: lib
// FILE: lib.kt
@file:JsQualifier("pkg")
external class C {
fun o(): String
class D {
fun k(): String
}
}
// MODULE: main(lib)
// FILE: main.kt
fun box() = C().o() + C.D().k()