Do not mangle internal @PublishedApi functions
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// IGNORE_BACKEND: JS
|
||||
//WITH_REFLECT
|
||||
class A {
|
||||
@PublishedApi
|
||||
internal fun published() = "OK"
|
||||
|
||||
inline fun test() = published()
|
||||
|
||||
}
|
||||
|
||||
fun box() : String {
|
||||
val clazz = A::class.java
|
||||
if (clazz.getDeclaredMethod("published") == null) return "fail"
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user