Change formatting of function expressions without names

No spaces between 'fun' and value parameter list
This commit is contained in:
Denis Zharkov
2015-05-19 11:17:06 +03:00
parent 2deb7faf05
commit b650753643
8 changed files with 19 additions and 13 deletions
@@ -1,18 +1,21 @@
val a = fun () {}
val b = fun test() {}
val c=fun(){}
val c=fun()=4
val c=fun (){}
val c=fun ()=4
val c=fun()=
val c=fun ()=
4
val c = fun() {}
val c = fun() = 4
val c = fun () = 4
fun test() = fun test() = 4
fun test() {
test(fun
() {
})
test(fun test() {})
test(fun test() = 5)