K2: fix SUPERTYPE_NOT_INITIALIZED not being reported on object expressions ^KT-55597 Fixed

This commit is contained in:
Kirill Rakhman
2023-01-04 11:05:45 +01:00
committed by Space Team
parent 868fe913f1
commit 2a724787f0
9 changed files with 21 additions and 10 deletions
@@ -52,7 +52,7 @@ fun lol(a: Array<Boolean>) {}
class M {
companion <!REDECLARATION!>object<!> {}
val <!REDECLARATION!>Companion<!> = object : Any {}
val <!REDECLARATION!>Companion<!> = object : Any() {}
}
fun B.foo() {}