Do not force new line in body for empty functions and function expressions (KT-10828)

#KT-10828 Fixed
This commit is contained in:
Nikolay Krasko
2016-12-06 16:39:17 +03:00
committed by Nikolay Krasko
parent 268d55104c
commit 2841931ffa
130 changed files with 334 additions and 575 deletions
+8 -19
View File
@@ -1,15 +1,9 @@
// No lines between
fun f2() {
}
fun f1() {
}
fun f2() {}
fun f1() {}
fun f3() = 1
fun f4() {
}
fun f4() {}
fun f5() {
}
@@ -18,16 +12,13 @@ fun f7() = 8
// One line
fun f2() {
}
fun f2() {}
fun f1() {
}
fun f1() {}
fun f3() = 1
fun f4() {
}
fun f4() {}
fun f5() {
}
@@ -41,15 +32,13 @@ fun l1() {
}
fun l2() {
}
fun l2() {}
fun l3() = 1
fun l4() {
}
fun l4() {}
fun l5() {