We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
slc = append(slc, )
go version
$ go version go 1.12
go env
$ go env
code as this:
tars = append(tars, )
compile err. I wonder why it is designed to pass well,it does nothing but mostly would be a typo,shouldn't it be found early?
go-fmt pass, compile pass
The text was updated successfully, but these errors were encountered:
I think it works as expected, a variadic arguments can be zero or more.
Sorry, something went wrong.
Sorry, I find go-fmt removes the last comma.
go-fmt
No branches or pull requests
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
code as this:
What did you expect to see?
compile err.
I wonder why it is designed to pass well,it does nothing but mostly would be a typo,shouldn't it be found early?
What did you see instead?
go-fmt pass, compile pass
The text was updated successfully, but these errors were encountered: