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

Ppx_repr: short_hash signature deriver fix #109

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

Conversation

mattiasdrp
Copy link
Contributor

The deriver for a short_hash signature typed it as a function returning unit instead of int

This would cause issues when generating a signature for a .ml file with [@@deriving repr ~short_hash]

The deriver for a short_hash signature typed it as a function returning `unit`
instead of `int`
@mattiasdrp
Copy link
Contributor Author

I added ~short_hash to the meta_deriving.ml tests to ensure the consistency of the deriver

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