cmd/vet: stdmethods check gets confused if run on a package named "xml" #29750
Comments
Interesting. Like you say, this sounds like a bug in vet relating to how it identifies or compares types. |
I have a very similar issue. I have a package named
I get the following.
For my code, I require a Is there any workaround for this? The only one I currently see is to disable the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
For example, if I have the following package:
What did you expect to see?
What did you see instead?
even if I try to alias
encoding/xml
import I still get same error.If instead I have the same code, but rename package:
go vet doesn't seem to handle correctly if code is in package also named xml.
The text was updated successfully, but these errors were encountered: