-
Notifications
You must be signed in to change notification settings - Fork 89
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
new bug in ppx_deriving ("optional" no longer works) #247
Comments
What the error message suggests, from a distance, is not a difference of support of |
Yes, that is the behaviour that worked in the past. Also, documented:
And finally, there's a test
|
BTW, obviously I don't -depend- on this behaviour. I just need to ensure that my unit-tests work with |
I believe this is an inherent part of |
oh sorry nevermind I didn't read the message entirely (sorry I'm tired). Mh, I'll have a look. |
This issue is due to mixed use of ppx_deriving and ppxlib derivers. The error really comes from ppxlib, where the corresponding issue is ocaml-ppx/ppxlib#125, just to connect the dots. Apparently there is an actual user of the feature. |
Versions:
bash --login -c "RUN -s Opam-2.1.0 opam show ppx_deriving "
<><> ppx_deriving: information on all versions ><><><><><><><><><><><><><><><><>
name ppx_deriving
all-installed-versions 5.2 [4.11.1]
test file
foo.ml
:failing run:
I guess this is a bug? I don't use ppx_deriving, except in unit-tests to verify that I'm adhering to the same semantics in my camlp5-based
pa_ppx
type-derivers, but figured I should report it anyway.The text was updated successfully, but these errors were encountered: