Skip to content

Commit

Permalink
Merge pull request #12316 from richard-zhang/fix-example-in-ast-mapper
Browse files Browse the repository at this point in the history
update the ill-types ppx_example in Ast_mapper module
  • Loading branch information
gasche committed Jun 21, 2023
2 parents 5babf9b + 7832bb5 commit d2ccddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsing/ast_mapper.mli
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 d2ccddc

Please sign in to comment.