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

Update a function pattern to avoid warning 68 (when enabled). #362

Merged
merged 2 commits into from
Aug 9, 2022

Conversation

ceastlund
Copy link
Collaborator

Avoids pattern matching on mutable state in a function parameter.

Signed-off-by: Carl Eastlund <ceastlund@janestreet.com>
Signed-off-by: Carl Eastlund <ceastlund@janestreet.com>
@ceastlund ceastlund marked this pull request as ready for review July 27, 2022 22:27
Copy link
Collaborator

@panglesd panglesd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems a safe change, removing a warning.

@ceastlund ceastlund merged commit e36e1bb into ocaml-ppx:main Aug 9, 2022
pitag-ha added a commit to pitag-ha/opam-repository that referenced this pull request Oct 5, 2022
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)
pitag-ha added a commit to pitag-ha/opam-repository that referenced this pull request Oct 6, 2022
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)
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.

2 participants