FIR: Report EXPLICIT_DELEGATION_CALL_REQUIRED in some missing cases

^KT-55877 Fixed
This commit is contained in:
Kirill Rakhman
2023-01-26 11:25:58 +01:00
committed by Space Team
parent 91f68f0e17
commit efc957586d
6 changed files with 7 additions and 15 deletions
@@ -2,7 +2,7 @@
open class B0(x: Int)
class A0 : B0 {
constructor()
<!EXPLICIT_DELEGATION_CALL_REQUIRED!>constructor()<!>
constructor(x: Int) : <!NO_VALUE_FOR_PARAMETER!>super<!>()
}
@@ -37,6 +37,6 @@ open class B3 {
}
class A3 : B3 {
constructor()
<!EXPLICIT_DELEGATION_CALL_REQUIRED!>constructor()<!>
constructor(x: Int) : <!INVISIBLE_REFERENCE!>super<!>()
}