-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: include file name in error message for bad import #4223
Comments
Example in the topic is not reproducible. So I made this:
Reported error is somewhat better. It tells the package where problem happened. But it does not tell the file/line. |
GOPATH go get is no longer supported. As of Go 1.24, if we try to do a
This should now be tracked in #41688, which is a newer issue that tracks adding line numbers to the import stacks printed by (*loadPkg).stackText. See specifically Jay's comment #41688 (comment) |
by peter.waller:
The text was updated successfully, but these errors were encountered: