Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
go/parser: accept ...T as type in all parameter lists; leave it to go/types to complain #28326
This could simplify the parser and also make it more error-tolerant in the presence of such error. It would also be more consistent with what the compiler does and better match the spec (where the rules about uses of ... are in the prose and not the EBNF).