You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is working as defined in the spec. The arguments to match a variadic argument may be a list of singletons or a slice followed by ..., not a combination. The main reason is to avoid ambiguity that can lead to errors.
Probably it is already discussed. But I didn't see description in Language Specification.
What version of Go are you using (
go version
)?go version go1.8 linux/amd64
play.golang.org
Does this issue reproduce with the latest release?
I think, yes.
What did you do?
https://play.golang.org/p/2Qm34TE-gn
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: