[LL FIR] fix lazy resolution of member property statuses for anonymous objects

Previously, statuses of superclass which are not local was not ignored

Sometimes it worked in the IDE by calling lazyResolveToPhase
which is a violation of the lazy resolution contract

^KT-54890
This commit is contained in:
Ilya Kirillov
2022-12-01 16:54:51 +01:00
parent c66fbf5c0e
commit c899f6dae3
9 changed files with 104 additions and 45 deletions
@@ -0,0 +1,11 @@
// FILE: a.kt
object A {
val O = object : B() {
override val message = "expression expected"
}
}
// FILE: b.kt
abstract class B {
protected abstract val message: String
}