Allow secondary constructors without body
#KT-6967 Fixed
This commit is contained in:
+1
-1
@@ -11,5 +11,5 @@ class A {
|
||||
}
|
||||
}
|
||||
class A1(val x: Int, val y: Int) {
|
||||
constructor(other: A1): this(other.x, other.y) {}
|
||||
constructor(other: A1): this(other.x, other.y)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user