Files
kotlin-fork/js/js.translator/testData/box/propertyAccess/privateClassesWithPrivateMembers.kt
Roman Artemev d9c6d38715 [JS IR BE] Fix private members lowering
- visit over file instead of class
2019-07-09 10:40:01 +03:00

14 lines
195 B
Kotlin
Vendored

// EXPECTED_REACHABLE_NODES: 1305
private class A {
private val f = "OK"
inline fun ii() = f
}
private class B {
private val a = A()
fun foo() = a.ii()
}
fun box() = B().foo()