Skip to content

Upgrade from ocaml-migrate-parsetree to Ppxlib#14

Open
OlivierNicole wants to merge 1 commit intostedolan:masterfrom
OlivierNicole:undust
Open

Upgrade from ocaml-migrate-parsetree to Ppxlib#14
OlivierNicole wants to merge 1 commit intostedolan:masterfrom
OlivierNicole:undust

Conversation

@OlivierNicole
Copy link
Copy Markdown

ocaml-migrate-parsetree is now deprecated. This upgrades the code to use Ppxlib, so that ppx_stage can be used on recent OCaml versions.

With these changes, the code now compiles and passes the tests in OCaml 5.1.1.

Future work: handle locations correctly so that tools like Merlin are not buggy on code that uses the PPX.

ocaml-migrate-parsetree is now deprecated. This upgrades the code to use
Ppxlib. Remaining work to do: handle locations correctly so that tools
like Merlin are not buggy on code that uses the PPX.
@OlivierNicole
Copy link
Copy Markdown
Author

(In case that wasn’t clear, this version is strictly better than master since locations are not emitted properly on master either.)

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.

1 participant