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
Yeah, gc's meesage is still correct, just unintuitive.
Go's type names are not keywords, so it's hard
to give intuitive error messages here.
For example,
"func f(bool bool) bool { return bool }" is a correct Go
definition.
http://play.golang.org/p/4LtgjmRoGm
(I'm wandering whether func bool(bool bool) bool is
correct....)
The following incorrect program
produces this error message when compiled
Which I believe is wrong, the final parameter does have a type,
bool
, what is lacks is a name.The text was updated successfully, but these errors were encountered: