JS: support unsigned primitive vararg's

This commit is contained in:
Anton Bannykh
2018-08-17 13:21:01 +03:00
committed by Ilya Gorbunov
parent 944c5b6044
commit 934e11aa60
9 changed files with 255 additions and 56 deletions
@@ -1,7 +1,6 @@
// WITH_UNSIGNED
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS
fun box(): String {
var sum = 0u
@@ -1,6 +1,6 @@
// IGNORE_BACKEND: JVM_IR
// WITH_UNSIGNED
// IGNORE_BACKEND: JS, JS_IR
// IGNORE_BACKEND: JS_IR
fun uint(vararg us: UInt): UIntArray = us