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 1e773c5 commit 5396938Copy full SHA for 5396938
compiler/lib-wasm/gc_target.ml
@@ -1442,8 +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 | Int8_unsigned | Char -> "dv_set_ui8", I32, 0, Fun.id
1446
- | Int16_signed | Int16_unsigned -> "dv_set_ui16", I32, 1, Fun.id
+ | Int8_signed | Int8_unsigned | Char -> "dv_set_i8", I32, 0, Fun.id
+ | Int16_signed | Int16_unsigned -> "dv_set_i16", I32, 1, Fun.id
1447
| Int32 -> "dv_set_i32", I32, 2, Memory.unbox_int32
1448
| Nativeint -> "dv_set_i32", I32, 2, Memory.unbox_nativeint
1449
| Int64 -> "dv_set_i64", I64, 3, Memory.unbox_int64
0 commit comments