Skip to content

Commit

Permalink
make tuple node
Browse files Browse the repository at this point in the history
  • Loading branch information
zapashcanon committed Oct 7, 2024
1 parent bdb2428 commit 3df8f1f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wasm/wat.ml
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,7 @@ module C = struct
| I64 -> atom "i64"
| F64 -> atom "f64"
| Rvar v -> reft v
| Tuple l -> node "" (List.map type_atom l)

| Tuple l -> node "tuple" (List.map type_atom l)

let tuple_make fields = node "tuple.make" (Atom (List.length fields |> string_of_int) :: fields )

Expand Down

0 comments on commit 3df8f1f

Please sign in to comment.