Join GitHub today
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.