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.
cmd/go2go: error message for mismatched arguments does not reference both arguments' types #39725
Does this issue reproduce with the latest release?
This occurs in the playground at the time of writing.
What did you do?
Try to run the following program:
What did you expect to see?
The error message explicitly points out that two different types were substituted for
What did you see instead?
This message is unhelpful as, unlike in non-generic code, it doesn't tell us which type we should have used, and does not reveal the fundamental problem - the mismatch between