Don't generate empty constructor if there is secondary one with empty parameter list

This commit is contained in:
Denis Zharkov
2015-03-10 18:22:33 +03:00
parent aab706a6a6
commit 582755e71a
4 changed files with 31 additions and 0 deletions
@@ -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) {}
}