cmd/vet: format of -shadow error message needs a patch #14585
Closed
Labels
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently the output of vet -shadow gives something like the following:
Notice the colon space at the end of the line and the fact, that it doesn't get directly clear, which variable is meant.
I would like to propose a format as follows:
At least the colon space at the end shouldn't be protected by any format guarantee, since I guess it is a bug and isn't especially tested at the moment.
I think the highlighting of the variable name should also be done as long as the -shadow option is still experimental.
I have a CL ready.
The text was updated successfully, but these errors were encountered: