JS: disable mangling for PublishedApi. Export declarations marked with PublishedApi. See KT-15442

This commit is contained in:
Alexey Andreev
2016-12-27 14:23:04 +03:00
parent ed7ac7cea9
commit 27c2a4f6a8
12 changed files with 120 additions and 7 deletions
+5 -1
View File
@@ -1,3 +1,5 @@
// MODULE: lib
// FILE: lib.kt
class A {
@PublishedApi
@@ -7,6 +9,8 @@ class A {
}
fun box() : String {
// MODULE: main(lib)
// FILE: main.kt
fun box(): String {
return A().test()
}