[FIR] Pass proper containing classes from context to type resolution for local classes

This commit is contained in:
Dmitriy Novozhilov
2021-11-25 13:33:01 +03:00
committed by teamcityserver
parent 98934e15c0
commit 2b84e8e68f
10 changed files with 114 additions and 5 deletions
@@ -0,0 +1,20 @@
// FIR_IDENTICAL
// FIR_DUMP
class Base {
private class Private
fun test() {
object {
val x: Private = Private()
init {
val y: Private = Private()
}
fun foo() {
val z: Private = Private()
}
}
}
}