-
Notifications
You must be signed in to change notification settings - Fork 98
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
Deprecate unused attributes in Deriving.Generator
.
#368
Deprecate unused attributes in Deriving.Generator
.
#368
Conversation
faf7e51
to
944c339
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Thanks, LGTM! I was about to suggest just removing the argument and sending patch PRs to the PPXs we break with that. That would be both better for them and for us. However, I've just seen that quite some PPXs use that argument (even new ones - which shows even more that this PR is important), so just adding deprecating documentation sounds good. Could you add a changelog entry and format the code? |
944c339
to
3ed2a1e
Compare
Signed-off-by: Simmo Saan <[email protected]>
Signed-off-by: Simmo Saan <[email protected]>
Signed-off-by: Simmo Saan <[email protected]>
3ed2a1e
to
94f3615
Compare
Done! |
CHANGES: - Make `esequence` right-associative. (ocaml-ppx/ppxlib#366, @ceastlund) - Deprecate unused attributes in `Deriving.Generator` (ocaml-ppx/ppxlib#368, @sim642) - Remove a pattern match on mutable state in a function argument. (ocaml-ppx/ppxlib#362, @ceastlund) - Add code-path manipulation attributes. (ocaml-ppx/ppxlib#352, @ceastlund) - Update context-free rules to collect expansion errors generated by ppxlib and propagate them to top level without failing. (ocaml-ppx/ppxlib#358 and ocaml-ppx/ppxlib#361, @ceastlund)
CHANGES: - Make `esequence` right-associative. (ocaml-ppx/ppxlib#366, @ceastlund) - Deprecate unused attributes in `Deriving.Generator` (ocaml-ppx/ppxlib#368, @sim642) - Remove a pattern match on mutable state in a function argument. (ocaml-ppx/ppxlib#362, @ceastlund) - Add code-path manipulation attributes. (ocaml-ppx/ppxlib#352, @ceastlund) - Update context-free rules to collect expansion errors generated by ppxlib and propagate them to top level without failing. (ocaml-ppx/ppxlib#358 and ocaml-ppx/ppxlib#361, @ceastlund)
Closes #90.
Adds documentation to the
make
functions in order to have a place to deprecate the argument (similarly toDriver.register_transformation
extensions).Also removes the corresponding unused record field and the commented-out code, which used it.