KT-2217 Formatter fails to format unary minus

#KT-2217 fixed
This commit is contained in:
Nikolay Krasko
2012-06-08 21:58:43 +04:00
parent acac0eddc7
commit b5d5e42e5b
8 changed files with 96 additions and 57 deletions
@@ -0,0 +1,20 @@
fun test() {
! true
!true
int ++
int++
++ int
++int
int --
int--
-- int
--int
+ 12
+12
- 12
-12
test!!
test !!
}
// SET_TRUE: SPACE_AROUND_UNARY_OPERATOR