JS: disable mangling for PublishedApi. Export declarations marked with PublishedApi. See KT-15442
This commit is contained in:
+5
-1
@@ -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()
|
||||
}
|
||||
Reference in New Issue
Block a user