Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Aliased result type of GADT constructor results in assertion failure #6930
Original bug ID: 6930
Using an alias as the result type of a GADT constructor seems to be crash the compiler as soon as you try to use the constructor. See "steps to reproduce."
Steps to reproduce
Try to compile the following program:
My example doesn't break if I define the type like this instead: