FIR2IR: Fix exception when local class used before declaration

This commit is contained in:
Denis.Zharkov
2021-10-22 16:49:02 +03:00
parent 0bdea4f20a
commit 2a8eacd4ba
11 changed files with 59 additions and 3 deletions
@@ -0,0 +1,6 @@
fun box(): String {
return object {
val a = A("OK")
inner class A(val ok: String)
}.a.ok
}