ocaml-ppx / ppx_deriving_yojson

A Yojson codec generator for OCaml.
MIT License
155 stars 46 forks source link

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

Closed kit-ty-kate closed 3 years ago

kit-ty-kate commented 3 years ago

While writing the changelog for the release I realized that my modification of https://github.com/ocaml-ppx/ppx_deriving_yojson/pull/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 commented 3 years ago

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