Change Signature: Add/remove constructor keyword on primary constructor when changing modifier list
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
class C1 protected (val x: Any) {}
|
||||
class C1 protected constructor(val x: Any) {}
|
||||
|
||||
fun f() {
|
||||
val c = C1(12);
|
||||
|
||||
Reference in New Issue
Block a user