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: inappropriate "cannot use generic type without instantiation" error #40791
The following program fails with the error "cannot use generic type Pair(type A, B) without instantiation", but the type does seem to be instantiated correctly.
If we add a type alias, it works.