Skip to content

fix build for OCaml 5.3 - #274

Open
pxeger wants to merge 1 commit into
anmonteiro:masterfrom
pxeger:fix_build_ocaml5.3
Open

fix build for OCaml 5.3#274
pxeger wants to merge 1 commit into
anmonteiro:masterfrom
pxeger:fix_build_ocaml5.3

Conversation

@pxeger

@pxeger pxeger commented Jun 6, 2026

Copy link
Copy Markdown
  • Pconst_integer/Pconst_char changed to Const.integer/Const.char (in OCaml 5.3+ as these constants moved into Parsetree.constant_desc (a nested record), so Ast_helper.Const helpers must be used instead.)
  • Exp.tuple [e1; e2] changed to Exp.tuple [None, e1; None, e2] (OCaml 5.3+ added labeled tuple support, changing the Pexp_tuple payload from expression list to (string option * expression) list.)

fixes #252

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OCaml 5.3 support

1 participant