Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Shadowing in a branch of a GADT match breaks unused variable warning #7115
Original bug ID: 7115
The following code:
type t = A : t
should complain about "unused variable x" but doesn't.
$ ocamlopt -w +a /tmp/a.ml