[FIR] Add diagnostic for primary constructor not called
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
annotation class A() {
|
||||
<!ANNOTATION_CLASS_MEMBER!>constructor(s: Nothing?) {}<!>
|
||||
<!ANNOTATION_CLASS_MEMBER!><!PRIMARY_CONSTRUCTOR_DELEGATION_CALL_EXPECTED!>constructor(s: Nothing?)<!> {}<!>
|
||||
<!ANNOTATION_CLASS_MEMBER!>init {}<!>
|
||||
<!ANNOTATION_CLASS_MEMBER!>fun foo() {}<!>
|
||||
<!ANNOTATION_CLASS_MEMBER!>val bar: Nothing?<!>
|
||||
|
||||
Reference in New Issue
Block a user