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

Fix the ordering of make's arguments #285

Merged
merged 2 commits into from
May 15, 2024

Conversation

NathanReb
Copy link
Collaborator

I introduced a bug in ppx_deriving.make when working on #281 and inadvertently changed the ordering of the arguments of the generated function.

The test suite failed to pick it up because the signature was also generated with [@@deriving make] and the ordering was swapped in both the signature and structure derivers.

I added a module with a handwritten signature and a derived implementation so that this can't happen again in the future.

This was broken by a change in ocaml-ppx#281

Signed-off-by: Nathan Rebours <nathan.p.rebours@gmail.com>
Signed-off-by: Nathan Rebours <nathan.p.rebours@gmail.com>
@NathanReb NathanReb force-pushed the fix-make-arguments-ordering branch from 48440a4 to d69b55a Compare April 26, 2024 14:27
@NathanReb NathanReb merged commit d0bfca8 into ocaml-ppx:master May 15, 2024
1 check passed
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