[FIR] allow primary constructors in interfaces to support invalid code

KTIJ-23504
This commit is contained in:
Anna Kozlova
2022-11-04 08:36:57 +01:00
parent ce94816d9e
commit 79bed083e6
17 changed files with 68 additions and 56 deletions
@@ -1,6 +1,6 @@
interface <!CONSTRUCTOR_IN_INTERFACE!>A(val s: String)<!>
interface A<!CONSTRUCTOR_IN_INTERFACE!>(val s: String)<!>
interface <!CONSTRUCTOR_IN_INTERFACE!>B constructor(val s: String)<!>
interface B <!CONSTRUCTOR_IN_INTERFACE!>constructor(val s: String)<!>
interface C {
<!CONSTRUCTOR_IN_INTERFACE!>constructor(s: String)<!> {}