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
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
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.