Support all primitive literal types.
Apply simple unary operators to constants.
This commit is contained in:
committed by
Dmitry Petrov
parent
b3f605c4c4
commit
fe46a02885
+7
-1
@@ -3,4 +3,10 @@ val test2 = -1
|
||||
val test3 = true
|
||||
val test4 = false
|
||||
val test5 = "abc"
|
||||
val test6 = null
|
||||
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
|
||||
Reference in New Issue
Block a user