Files
kotlin-fork/compiler/testData/diagnostics/tests/constructorConsistency/errorInsideDelegationCallNoPrimary.kt
T
Egor Kulikov 70d49999ac [FIR] Generate an error primary constructor when super call is invalid
Merge-request: KT-MR-11026
Merged-by: Egor Kulikov <Egor.Kulikov@jetbrains.com>
2023-07-13 17:37:48 +00:00

6 lines
168 B
Kotlin
Vendored

open class A(i: Int)
class B : <!SUPERTYPE_INITIALIZED_WITHOUT_PRIMARY_CONSTRUCTOR!>A(<!DEBUG_INFO_MISSING_UNRESOLVED!>x<!>)<!> {
constructor(i: Int) : super(i)
}