Formatter: Don't enforce empty line between secondary constructors without body (KT-12175)

#KT-12175 Fixed
This commit is contained in:
Nikolay Krasko
2016-05-04 15:28:55 +03:00
committed by Nikolay Krasko
parent 52cd7109c7
commit b107bc401c
13 changed files with 18 additions and 9 deletions
@@ -3,7 +3,6 @@ class Foo : Base {
val x = 1
<caret>constructor(n: Int) : super(n)
constructor(a: Int, b: Int) : super(a, b)
fun foo() {
@@ -3,7 +3,6 @@ class Foo<U> : Base<U, Int> {
val x = 1
<caret>constructor(x: U) : super(x)
constructor(x: U, y: Int?) : super(x, y)
fun foo() {
@@ -7,7 +7,6 @@ class Foo : Base {
val x = 1
<caret>constructor(a: Int, b: Int) : super(a, b)
constructor(n: Int) : super(n)
fun foo() {
@@ -7,7 +7,6 @@ class Foo : Base {
val x = 1
constructor(x: Int) : super(x)
<caret>constructor(a: Int, b: Int) : super(a, b)
fun foo() {
@@ -7,7 +7,6 @@ class Foo<U> : Base<U, Int> {
val x = 1
<caret>constructor(x: U, y: Int) : super(x, y)
constructor(n: U) : super(n)
fun foo() {