-
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: 'go get -d' does not report line numbers in errors for bad import statements #41688
Comments
Change https://golang.org/cl/258219 mentions this issue: |
I think this needs to be a blocker for 1.16: with |
(The |
For #26909 For #41688 Change-Id: I22f28d426ce499fce6f0f1295dbde425998042aa Reviewed-on: https://go-review.googlesource.com/c/go/+/258219 Trust: Bryan C. Mills <[email protected]> Trust: Jay Conrod <[email protected]> Run-TryBot: Bryan C. Mills <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Jay Conrod <[email protected]> Reviewed-by: Michael Matloob <[email protected]>
@bcmills What else is left to do on this before the release? |
@bcmills Is there anything left to do on this before the release? |
I'm not sure. I'm still in the process of overhauling the |
We should decide whether this is feasible to fix for the release, but if it turns out to be too invasive we can punt it to 1.17. |
Looked into this a bit. In
I think it's viable to implement (1) before 1.16, but there are a lot of open release blockers that should fix first. This shouldn't actually block the release, and it's probably too big to go in after the RC. |
The fix for #41315 has revealed another variant of issue #34393.
Adding the following test case to
mod_build_info_err.txt
gives the failure mode of #41315 at
release-branch.go1.15
. At head, it gives a different, but still not quite right, failure mode:Notably, the import stack for this error message is again bereft of line numbers (as in #34393).
CC @jayconrod @matloob @rogpeppe
The text was updated successfully, but these errors were encountered: