Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix soundness bug in extension constructor inclusion #8800
The inclusion check for extension constructors with GADT syntax was comparing the types of the arguments in combination with the types of the type parameters rather than the return types. The fix is simple and follows how the same issue is handled in ordinary constructors.