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: generic types as return parameters breakages #39674
What did you do?
What did you expect to see?
What did you see instead?
Did you find a workaround?
In both cases adding names to the parameters fixed things, so it seems like the parser is broken:
Duplicate of #39655:
Also Duplicate of #39656
PS Because of how many people run into this, can there be at least one of them open to investigate if the compiler error message can be improved in all does cases? I understand if it isn't possible and maybe go vet can help here?