Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Loss of ppx context in toplevel after an exception #7098
Original bug ID: 7098
$ cat t.ml
Note that the first [@@deriving show] succeeds, but the second one fails.
Also note the ocaml <t.ml (otherwise the toplevel will stop on the first error), and that if you remove #require "ppx_import";;, the bug stops manifesting itself.
Triaged from https://github.com/whitequark/ppx_import/issues/3.