Files
kotlin-fork/compiler/testData/codegen/box/syntheticAccessors/inlineInOtherClass.kt
T
pyos 27094d0371 JVM_IR: fix synthetic accessor generation (again)
Turns out private inline functions *can* be called from other classes.
2019-10-17 12:38:19 +02:00

8 lines
117 B
Kotlin
Vendored

class A {
private inline fun f() = g()
private fun g() = "OK"
fun h() = { f() }
}
fun box() = A().h()()