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
+4 -8
View File
@@ -2,8 +2,7 @@ enum class E1 {
A,
B;
fun foo() {
}
fun foo() {}
}
enum class E2 {
@@ -11,16 +10,14 @@ enum class E2 {
B;
fun foo() {
}
fun foo() {}
}
enum class E3 {
A,
B;
fun foo() {
}
fun foo() {}
}
enum class E4 {
@@ -28,6 +25,5 @@ enum class E4 {
B
;
fun foo() {
}
fun foo() {}
}