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
@@ -27,6 +27,5 @@ internal class C {
|
||||
@Deprecated("") @Anon5(3) val c = 'a'
|
||||
}
|
||||
|
||||
@Anon5(1) fun bar() {
|
||||
}
|
||||
@Anon5(1) fun bar() {}
|
||||
}
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
package test
|
||||
|
||||
internal class Foo {
|
||||
fun execute() {
|
||||
}
|
||||
fun execute() {}
|
||||
}
|
||||
|
||||
internal class Bar {
|
||||
|
||||
Reference in New Issue
Block a user