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
+1
-2
@@ -4,8 +4,7 @@ internal class A {
|
||||
private val s = ""
|
||||
private val x = 0
|
||||
|
||||
constructor() {
|
||||
}
|
||||
constructor() {}
|
||||
|
||||
@JvmOverloads constructor(p: Int, s: String, x: Int = 1) {
|
||||
this.s = s
|
||||
|
||||
Reference in New Issue
Block a user