JVM_IR KT-29822 KT-48669 loop over unsigned array, indices, withIndex

This commit is contained in:
Dmitry Petrov
2021-09-21 19:35:21 +03:00
committed by TeamCityServer
parent 2cc6b589f3
commit be28b3c74d
28 changed files with 819 additions and 8 deletions
@@ -47,7 +47,9 @@ fun testLong() {
s += i
if (t > 2) throw Exception("too many iterations: $t")
}
if (s != "-9223372036854775807-9223372036854775808") throw Exception(s)
if (s != "-9223372036854775807-9223372036854775808" &&
s != "-9223372036854776000-9223372036854776000" // JS
) throw Exception(s)
}
fun testChar() {