Files
kotlin-fork/idea/testData/formatter/SpacesAroundUnaryOperations_after_inv.kt
T
Nikolay Krasko b5d5e42e5b KT-2217 Formatter fails to format unary minus
#KT-2217 fixed
2012-06-08 21:59:50 +04:00

20 lines
210 B
Kotlin

fun test() {
!true
!true
int++
int++
++int
++int
int--
int--
--int
--int
+12
+12
-12
-12
test!!
test!!
}
// SET_TRUE: SPACE_AROUND_UNARY_OPERATOR