Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierNicole committed Sep 19, 2024
1 parent 1a24255 commit 989a1d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/lib/eval.ml
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ let eval_instr ~target info ((x, loc) as i) =
, Prim
( prim
, List.map2 prim_args prim_args' ~f:(fun arg c ->
match c, target with
match (c : constant), target with
| Some ((Int _ | NativeString _) as c), _ -> Pc c
| Some (Float _ as c), `JavaScript -> Pc c
| Some (String _ as c), `JavaScript
Expand Down

0 comments on commit 989a1d6

Please sign in to comment.