Don't generate empty constructor if there is secondary one with empty parameter list
This commit is contained in:
@@ -0,0 +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) {}
|
||||
}
|
||||
Reference in New Issue
Block a user