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
Exhaustiveness check wrong for class constructor arguments #6862
Original bug ID: 6862
The following code causes no warning:
type _ opt = Just : 'a -> 'a opt | Nothing : 'a opt
This is bad, because actually the next expression causes a segmentation fault...
new d Nothing;;