Join GitHub today
cmd/compile: confusing error if composite literal field that is a method is specified #29855
What version of Go are you using (
@pwaller Thanks for the report, and sorry about the confusing error message.
in typecheck.go:typecheckcomplit needs to be changed to used
This should probably be abstracted into an
Should be a relatively straight forward CL if anyone wants to volunteer to take it.