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

Fix issues at runtime when the Pervasives module is redefined #128

Merged
merged 1 commit into from
Nov 6, 2020

Conversation

kit-ty-kate
Copy link
Collaborator

While writing the changelog for the release I realized that my modification of #126 isn't correct if the user has redefined/shadowed the Pervasives module.

Previously, only a handful of modules exported by Ppx_deriving_runtime were reexported by Ppx_deriving_yojson_runtime, with this change the whole interface is being pulled up.

@kit-ty-kate kit-ty-kate merged commit 68a6a5c into ocaml-ppx:master Nov 6, 2020
@kit-ty-kate kit-ty-kate deleted the fix-pervasives-shadow branch November 6, 2020 19:40
kit-ty-kate added a commit to kit-ty-kate/opam-repository that referenced this pull request Nov 6, 2020
CHANGES:

  * Update to ppx_deriving 5.0 and ppxlib
    (ocaml-ppx/ppx_deriving_yojson#121)
    Rudi Grinberg, Thierry Martinez, Kate Deplaix and Gabriel Scherer

  * Fix issues when the equality operator `(=)` is shadowed
    (ocaml-ppx/ppx_deriving_yojson#126, ocaml-ppx/ppx_deriving_yojson#128, fixes ocaml-ppx/ppx_deriving_yojson#79)
    Martin Slota, Kate Deplaix
@kit-ty-kate
Copy link
Collaborator Author

This breaks frama-c. I reverted the releases and currently looking for a fix

kit-ty-kate added a commit to kit-ty-kate/ppx_deriving_yojson that referenced this pull request Nov 7, 2020
kit-ty-kate added a commit that referenced this pull request Nov 7, 2020
Revert #128 and reapply the original fix from #126
kit-ty-kate added a commit to kit-ty-kate/opam-repository that referenced this pull request Nov 7, 2020
CHANGES:

  * Update to ppx_deriving 5.0 and ppxlib
    (ocaml-ppx/ppx_deriving_yojson#121)
    Rudi Grinberg, Thierry Martinez, Kate Deplaix and Gabriel Scherer

  * Fix issues when the equality operator `(=)` is shadowed
    (ocaml-ppx/ppx_deriving_yojson#126, ocaml-ppx/ppx_deriving_yojson#128, fixes ocaml-ppx/ppx_deriving_yojson#79)
    Martin Slota, Kate Deplaix
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.

1 participant