JS: support signed constant expressions as unsigned primitive arguments
This commit is contained in:
committed by
Ilya Gorbunov
parent
934e11aa60
commit
6103df0b31
+1
-1
@@ -1,5 +1,5 @@
|
||||
// WITH_UNSIGNED
|
||||
// IGNORE_BACKEND: JS_IR, JVM_IR, JS
|
||||
// IGNORE_BACKEND: JS_IR, JVM_IR
|
||||
|
||||
fun takeUByte(u: UByte) = u.toByte()
|
||||
fun takeUShort(u: UShort) = u.toShort()
|
||||
|
||||
Reference in New Issue
Block a user