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
+10
View File
@@ -0,0 +1,10 @@
// MODULE: lib
// FILE: lib.kt
@PublishedApi
internal fun published() = "OK"
inline fun test() = published()
// MODULE: main(lib)
// FILE: main.kt
fun box() = test()