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
Ambiguous type escaping the scope of its equation #7617
Original bug ID: 7617
The following example typechecks properly:
But I claim it shouldn't as the typechecker will have chosen an arbitrary rigid
This is made more apparent with the following examples:
N.B. this happens both with and without -principal.