JVM_IR: fix synthetic accessor generation (again)

Turns out private inline functions *can* be called from other classes.
This commit is contained in:
pyos
2019-10-16 10:43:24 +02:00
committed by max-kammerer
parent 89180e2650
commit 27094d0371
7 changed files with 37 additions and 3 deletions
@@ -0,0 +1,7 @@
class A {
private inline fun f() = g()
private fun g() = "OK"
fun h() = { f() }
}
fun box() = A().h()()