Allow secondary constructors without body
#KT-6967 Fixed
This commit is contained in:
+1
-1
@@ -3,5 +3,5 @@ class A {
|
||||
constructor(
|
||||
<!VAL_OR_VAR_ON_SECONDARY_CONSTRUCTOR_PARAMETER!>val<!> x: Int, y: Int,
|
||||
<!VAL_OR_VAR_ON_SECONDARY_CONSTRUCTOR_PARAMETER!>var<!> z: Int,
|
||||
<!ILLEGAL_MODIFIER!>public<!> a: Int) {}
|
||||
<!ILLEGAL_MODIFIER!>public<!> a: Int)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user