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
@@ -54,6 +54,14 @@ class A {
|
||||
constructor() : this() {
|
||||
}
|
||||
|
||||
|
||||
constructor(a: Int) : this()
|
||||
constructor(a: Byte) : this()
|
||||
constructor() : this()
|
||||
constructor() : super() {
|
||||
}
|
||||
|
||||
|
||||
constructor() : this()
|
||||
|
||||
constructor() : super() {
|
||||
|
||||
@@ -26,6 +26,14 @@ constructor() {}
|
||||
constructor() : this() {}
|
||||
constructor():this() {}
|
||||
|
||||
|
||||
constructor(a: Int) : this()
|
||||
constructor(a: Byte) : this()
|
||||
constructor(): this ()
|
||||
constructor(): super(){}
|
||||
|
||||
|
||||
constructor(): this ()
|
||||
|
||||
constructor(): super(){}
|
||||
}
|
||||
@@ -19,7 +19,6 @@ class A {
|
||||
}
|
||||
|
||||
constructor()
|
||||
|
||||
constructor() {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,6 @@ class A
|
||||
}
|
||||
|
||||
constructor()
|
||||
|
||||
constructor()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user