[JS IR BE] Fix private members lowering

- visit over file instead of class
This commit is contained in:
Roman Artemev
2019-07-08 15:23:38 +03:00
committed by romanart
parent 7573fcde53
commit d9c6d38715
4 changed files with 56 additions and 21 deletions
@@ -0,0 +1,14 @@
// 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()