x/mod/modfile: Parse should return structured errors #36486
Labels
FrozenDueToAge
modules
NeedsFix
The path to resolution is known, but the work has not been done.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
modfile.Parse
appends error messages to abytes.Buffer
, then creates an error from the contents of the buffer witherrors.New
. This is not useful for tools likegopls
that need to show where errors occur.Instead,
modfile.Parse
should a structured error containing a list of errors with file names and line numbers.The text was updated successfully, but these errors were encountered: