Formatter: Don't enforce empty line between secondary constructors without body (KT-12175)
#KT-12175 Fixed
This commit is contained in:
committed by
Nikolay Krasko
parent
52cd7109c7
commit
b107bc401c
@@ -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() {
|
||||
|
||||
-1
@@ -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() {
|
||||
|
||||
-1
@@ -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() {
|
||||
|
||||
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user