fe46a02885
Apply simple unary operators to constants.
12 lines
200 B
Kotlin
Vendored
12 lines
200 B
Kotlin
Vendored
val test1 = 1
|
|
val test2 = -1
|
|
val test3 = true
|
|
val test4 = false
|
|
val test5 = "abc"
|
|
val test6 = null
|
|
val test7 = 1L
|
|
val test8 = -1L
|
|
val test9 = 1.0
|
|
val test10 = -1.0
|
|
val test11 = 1.0f
|
|
val test12 = -1.0f |