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,13 +1,11 @@
|
||||
package test
|
||||
|
||||
internal open class ClassWithStatics {
|
||||
fun instanceMethod() {
|
||||
}
|
||||
fun instanceMethod() {}
|
||||
|
||||
companion object {
|
||||
|
||||
fun staticMethod(p: Int) {
|
||||
}
|
||||
fun staticMethod(p: Int) {}
|
||||
|
||||
val staticField = 1
|
||||
var staticNonFinalField = 1
|
||||
|
||||
Reference in New Issue
Block a user