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,6 +1,5 @@
|
||||
internal class C {
|
||||
fun foo1(p1: Int, p2: Int) {
|
||||
}
|
||||
fun foo1(p1: Int, p2: Int) {}
|
||||
|
||||
fun foo2(
|
||||
p1: Int,
|
||||
@@ -16,4 +15,4 @@ internal class C {
|
||||
p3: Int, p4: Int
|
||||
) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user