New setting and test: space around arrow in function types

This commit is contained in:
sayon
2013-08-27 16:22:20 +04:00
parent 965265b8b8
commit 523a5bf6a9
7 changed files with 24 additions and 0 deletions
@@ -0,0 +1,4 @@
fun test(some: ((Int)->Int) ->Int) {
}
// SET_TRUE: SPACE_AROUND_FUNCTION_TYPE_ARROW
@@ -0,0 +1,4 @@
fun test(some: ((Int) -> Int) -> Int) {
}
// SET_TRUE: SPACE_AROUND_FUNCTION_TYPE_ARROW
@@ -0,0 +1,4 @@
fun test(some: ((Int)->Int)->Int) {
}
// SET_TRUE: SPACE_AROUND_FUNCTION_TYPE_ARROW