Skip to content

Commit

Permalink
update the ppx_example in ast_mapper
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-zhang committed Jun 21, 2023
1 parent 5babf9b commit 7832bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsing/ast_mapper.mli
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ let test_mapper argv =
expr = fun mapper expr ->
match expr with
| { pexp_desc = Pexp_extension ({ txt = "test" }, PStr [])} ->
Ast_helper.Exp.constant (Const_int 42)
Ast_helper.Exp.constant (Pconst_integer ("42", None))
| other -> default_mapper.expr mapper other; }
let () =
Expand Down

0 comments on commit 7832bb5

Please sign in to comment.