[FIR] Generate an error primary constructor when super call is invalid

Merge-request: KT-MR-11026
Merged-by: Egor Kulikov <Egor.Kulikov@jetbrains.com>
This commit is contained in:
Egor Kulikov
2023-07-13 17:37:48 +00:00
committed by Space Team
parent a588e75c11
commit 70d49999ac
30 changed files with 523 additions and 75 deletions
@@ -20,6 +20,10 @@ FILE: explicitDelegationCallRequired.kt
}
public final class C : R|A| {
public error_constructor(): R|C| {
super<R|A|>(Int(20))
}
public constructor(): R|C| {
super<R|A|>()
}