jvm-abi-gen: Strip inline functions in private classes
Inline functions in private classes can only be accessed from Java and we do not need to preserve their bodies for the abi.
This commit is contained in:
committed by
Alexander Udalov
parent
3ffe495346
commit
5059513106
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
class A {
|
||||
private class B {
|
||||
inline fun test(crossinline s: () -> Unit) {
|
||||
object {
|
||||
fun run() {
|
||||
//s()
|
||||
}
|
||||
}.run()
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user