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

Ppxlib.0.26.0 compatibility #173

Merged
merged 3 commits into from
Apr 1, 2022

Conversation

pitag-ha
Copy link
Contributor

This is a patch PR to make the PPX compatible with ppxlib.0.26.0 which has bumped the AST to 4.14/5.00.

With this patch, the ppx just errors out when one of the new features is encountered in the AST. That's because I myself don't know all >100 ppxlib reverse dependencies well enough to decide what the behavior should be when encountering the new feature. It would be great though if you, the maintainers, could follow up on this and implement the correct behavior. For example, I'd guess that in Opprintast, constructor_declaration should be adapted to take into account the new vars field that captures explicit binders for type variables.

The two new features I'm talking about are naming GADT existential (see this section in the manual or PR description here); and explicit binders for type variables (see PR description here).

@pascutto
Copy link
Contributor

Awesome, thanks Sonja!
I will push our implementation of the newly added bits on top of this PR, then merge it.

@pascutto pascutto force-pushed the ppxlib.0.25.0-compatibility branch from c8e3247 to 8a1c158 Compare April 1, 2022 10:01
@pascutto pascutto merged commit 7c28e7a into ocaml-gospel:main Apr 1, 2022
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.

None yet

2 participants