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
-3
@@ -1,9 +1,7 @@
|
||||
package test
|
||||
|
||||
internal object Utils {
|
||||
fun foo1(p: Int) {
|
||||
}
|
||||
|
||||
fun foo1(p: Int) {}
|
||||
fun foo2(): Int {
|
||||
return 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user