[FIR] allow primary constructors in interfaces to support invalid code
KTIJ-23504
This commit is contained in:
+2
-2
@@ -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)<!> {}
|
||||
|
||||
Reference in New Issue
Block a user