Conversation
|
Thanks! So IIUC, the previous versions need a |
|
That's correct :)) Once we 0.36.0 is released, having a release with |
|
I just merged #335 (incl. suitable The CI is still failing unfortunately: AFAICS this is because the latest |
|
Hot off the press! ppx_deriving 6.1.0 has just been released which you can use :) |
|
Thanks for all your work on this Patrick! 🙏 |
|
OK, I rebased and added a I see the ocaml 5.2 and 5.3 workflows passing now, but all 4.08 to 5.0 workflows are failing the same test, It seems to be due to the type annotation following the function header in the The thing is, the choice of printing it first in the header seems to be caused by qcheck/test/ppx_deriving_qcheck/deriver/qcheck/test_textual.ml Lines 16 to 18 in a15d5de as the expected string has the type annotation last: qcheck/test/ppx_deriving_qcheck/deriver/qcheck/test_textual.ml Lines 776 to 799 in a15d5de Since the test works on 5.2 and 5.3 with the 5.2-AST and worked with |
|
Thanks for the report @jmid -- taking a look :) |
|
Yeah, I think this is a known thing in the roundtripping of this code. See this comment in the migration from 501 to 502 in ppxlib I think that's what we're seeing here, the pexp_constraint is now fully around the body of the function and not in the function argument section. CC-ing @NathanReb though in case I've missed something here. |
Signed-off-by: Patrick Ferris <patrick@sirref.org>
|
I've just force pushed after rebasing on Still red, but now we are down to pre-4.14 failures because |
|
Finally all green - I'll merge. Thanks again @patricoferris 🙏 🙂 |
In preparation for ocaml/opam-repository#27478 there is WIP documentation about the AST bump on the ppxlib wiki: https://github.com/ocaml-ppx/ppxlib/wiki/Upgrading-to-ppxlib-0.36.0