Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/go/packages: cannot load "cmd" from within a module #29913
This seems pretty serious - I'm having trouble using a linter that I wrote as it's now running into these errors. Perhaps related to #29826, but in this case the packages don't seem to be identical, as DeepEqual returns false.
Seems like the issue is that it's loading the vendored packages as modules:
I'm starting to wonder if this is supposed to be broken. Still, I presume there's something to fix; the error is confusing.
Edit: as expected,