Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
type application in quotations #5080
Original bug ID: 5080
let test x = match x with
used to work with camlp4of (3.11.2), but stopped working with 3.12.0+beta1. I'm not sure if this is expected.
ocaml-batteries is affected by this issue... I've not been able to find anything else than using the expanded quotation.
Comment author: @ygrek
This affects deriving as well. First two cases can be workarounded with extra parentheses :
Comment author: @xclerc
Nicolas Pouillard provided me with a cleaner patch that has
Please test it, and re-open the issue if I missed something.
Comment author: @damiendoligez
The current version (3.12.1+dev11) breaks lablgtk with the following error message.
File "gtkSignal.ml4", line 92, characters 10-13:
This happens with and without the patch that you (xclerc) provided to me in private.