Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade from ocaml-migrate-parsetree to Ppxlib #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

OlivierNicole
Copy link

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
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