Allow secondary constructors without body
#KT-6967 Fixed
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
// do not report generate empty synthetic constructor by primary as it leads to CONFLICTING_JVM_DECLARATIONS
|
||||
class A(val x: Int = 1, val y: Int = 2) {
|
||||
constructor(): this(0, 0) {}
|
||||
constructor(): this(0, 0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user