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
-short-paths and signature inclusion errors #6566
Original bug ID: 6566
$ cat x.mli
$ ocamlopt -c x.mli
The "type t = t" seems wrong.
(Let's ignore that it says "bytes" rather than "string"...)
Comment author: @garrigue
Fixed in 4.02 at revision 15246.
The fix is a bit hacky: we export an older environment inside the error, so that local definitions are not used for looking up short paths inside type, class type, and class definitions.