We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5da446c commit 0706442Copy full SHA for 0706442
compiler/lib-wasm/gc_target.ml
@@ -1442,10 +1442,8 @@ module Bigarray = struct
1442
let* e = Memory.unbox_float x in
1443
return (W.F32DemoteF64 e) )
1444
| Float64 -> "dv_set_f64", F64, 3, Memory.unbox_float
1445
- | Int8_signed -> "dv_set_i8", I32, 0, Fun.id
1446
- | Int8_unsigned | Char -> "dv_set_ui8", I32, 0, Fun.id
1447
- | Int16_signed -> "dv_set_i16", I32, 1, Fun.id
1448
- | Int16_unsigned -> "dv_set_ui16", I32, 1, Fun.id
+ | Int8_signed | Int8_unsigned | Char -> "dv_set_ui8", I32, 0, Fun.id
+ | Int16_signed | Int16_unsigned -> "dv_set_ui16", I32, 1, Fun.id
1449
| Int32 -> "dv_set_i32", I32, 2, Memory.unbox_int32
1450
| Nativeint -> "dv_set_i32", I32, 2, Memory.unbox_nativeint
1451
| Int64 -> "dv_set_i64", I64, 3, Memory.unbox_int64
0 commit comments