[FIR] Add diagnostic for missing primary constructor

This commit is contained in:
Nick
2020-08-03 15:07:54 +03:00
committed by Mikhail Glukhikh
parent 0f213e58db
commit b76f757d47
9 changed files with 148 additions and 3 deletions
@@ -1,5 +1,5 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
open class B(x: Int)
class A : B(1) {
<!SUPERTYPE_INITIALIZED_WITHOUT_PRIMARY_CONSTRUCTOR!>class A : B(1) {
constructor(): super(1)
}
}<!>