[JS IR BE] Support integer operation overflow

This commit is contained in:
Svyatoslav Kuzmich
2018-10-04 13:31:57 +03:00
parent 8013a56286
commit bad9534abd
22 changed files with 283 additions and 99 deletions
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
fun box(): String {
val i1: Int = Int.MAX_VALUE
val i2 = i1 + 1