Fixed formatter for function expression

This commit is contained in:
Stanislav Erokhin
2015-03-26 16:16:11 +03:00
parent daa437b535
commit cbcd2c3cce
8 changed files with 77 additions and 16 deletions
@@ -0,0 +1,34 @@
val a = fun () {
}
val b = fun test() {
}
val c = fun() {
}
val c = fun() = 4
val c = fun() =
4
val c = fun() {
}
val c = fun() = 4
fun test() = fun test() = 4
fun test() {
test(fun test() {
})
test(fun test() = 5)
test(fun test() = fun test(a: Int) = 2)
2.(fun test() {
})()
(fun() = 4)
(fun() {
})
test(fun test() = 4)
}