Do not force new line in body for empty functions and function expressions (KT-10828)
#KT-10828 Fixed
This commit is contained in:
committed by
Nikolay Krasko
parent
268d55104c
commit
2841931ffa
+8
-16
@@ -1,29 +1,21 @@
|
||||
internal class A() {
|
||||
|
||||
constructor(a: Int) : this() {
|
||||
}
|
||||
constructor(a: Int) : this() {}
|
||||
|
||||
protected constructor(c: Char) : this() {
|
||||
}
|
||||
protected constructor(c: Char) : this() {}
|
||||
|
||||
constructor(f: Float) : this() {
|
||||
}
|
||||
constructor(f: Float) : this() {}
|
||||
|
||||
private constructor(d: Double) : this() {
|
||||
}
|
||||
private constructor(d: Double) : this() {}
|
||||
}
|
||||
|
||||
class B() {
|
||||
|
||||
constructor(a: Int) : this() {
|
||||
}
|
||||
constructor(a: Int) : this() {}
|
||||
|
||||
protected constructor(c: Char) : this() {
|
||||
}
|
||||
protected constructor(c: Char) : this() {}
|
||||
|
||||
internal constructor(f: Float) : this() {
|
||||
}
|
||||
internal constructor(f: Float) : this() {}
|
||||
|
||||
private constructor(d: Double) : this() {
|
||||
}
|
||||
private constructor(d: Double) : this() {}
|
||||
}
|
||||
Reference in New Issue
Block a user