Support mod and floorDiv extensions in constant evaluator
Ignore evaluation tests for floorDiv and mod with FIR for now.
This commit is contained in:
@@ -20,4 +20,10 @@ val x5 = 0x1234 and 0x5678
|
||||
val x6 = 0x1234 and 0x5678L
|
||||
|
||||
// val x7: 4656.toLong()
|
||||
val x7 = 0x1234L and 0x5678
|
||||
val x7 = 0x1234L and 0x5678
|
||||
|
||||
// val x8: -123457
|
||||
val x8 = (-123_456_789_321).floorDiv(1_000_000)
|
||||
|
||||
// val x9: 79
|
||||
val x9 = (-123_456_789_321).mod(100)
|
||||
Reference in New Issue
Block a user