What is the URL of the page with the issue?
https://go.dev/ref/spec#Function_types
the definition in doc is
FunctionType = "func" Signature .
Signature = Parameters [ Result ] .
Result = Parameters | Type .
Parameters = "(" [ ParameterList [ "," ] ] ")" .
ParameterList = ParameterDecl { "," ParameterDecl } .
ParameterDecl = [ IdentifierList ] [ "..." ] Type .
the mistack is
the Result shouldnt be produce by = Parameters. the Parameters support (... T) but you couldnt write func signature like func () (...T)
What is the URL of the page with the issue?
https://go.dev/ref/spec#Function_types
the definition in doc is
FunctionType = "func" Signature .
Signature = Parameters [ Result ] .
Result = Parameters | Type .
Parameters = "(" [ ParameterList [ "," ] ] ")" .
ParameterList = ParameterDecl { "," ParameterDecl } .
ParameterDecl = [ IdentifierList ] [ "..." ] Type .
the mistack is
the
Resultshouldnt be produce by= Parameters. theParameterssupport(... T)but you couldnt write func signature likefunc () (...T)