-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Closed
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Description
foo$ cat go.work
use .
foo$ cat go.mod
module foo
go 1.21
foo$ go list
go: module . listed in go.work file requires go >= 1.21, but go.work lists go 1.18; to update it:
go work use
This error message is confusing because the string "go1.18" is not present in the input; it is merely the oldest version of Go that supports go.work files.
It would be more helpful to say "go.work implicitly requires go1.18" when there is no go directive.
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.