cmd/go: confusing compiler errors because of _gomod_.go #28569
Labels
FrozenDueToAge
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
When compiling the following inside a Go module project (containing
go.mod
in a parent directory):you get the following very confusing error message:
It seems this is because there is an autogenerated file trying to declare a variable of type
string
.This does not happen when trying to build in a non-modules project.
Go version and env:
The text was updated successfully, but these errors were encountered: