-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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/internal/load: prevent calling ImportErrorf when the err is *module.InvalidPathError #50089
Conversation
Why this PR is not imported to Gerrit? |
54bed3e
to
df89974
Compare
|
This PR (HEAD: df89974) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/372398 to see it. Tip: You can toggle comments from me using the |
Message from Bryan Mills: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
This PR (HEAD: 5cbf11a) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/372398 to see it. Tip: You can toggle comments from me using the |
@gopherbot /comments Regression test has been added : ) |
@bcmills Any progress? |
Message from 张盛宇: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
Message from 张盛宇: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
Message from Bryan Mills: Patch Set 2: Run-TryBot+1 Trust+1 (4 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
Message from Gopher Robot: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
Message from Gopher Robot: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
Message from Gopher Robot: Patch Set 2: TryBot-Result-1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
Message from 张盛宇: Patch Set 2: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
Message from 张盛宇: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
This PR (HEAD: 7b23d67) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/372398 to see it. Tip: You can toggle comments from me using the |
Message from 张盛宇: Patch Set 2: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
Message from 张盛宇: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
Message from 张盛宇: Patch Set 3: (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
Message from Ian Lance Taylor: Patch Set 3: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
Message from Gopher Robot: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
Message from Gopher Robot: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
Message from Gopher Robot: Patch Set 3: TryBot-Result-1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
…odule.InvalidPathError 1. The call of setError is unnecessary bacause setError do nothing when p.Error is not nil. 2. The call of ImportErrorf may panic in this situation (double quotes appear in the import path). Fixes golang#49137
7b23d67
to
4307863
Compare
This PR (HEAD: 4307863) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/372398 to see it. Tip: You can toggle comments from me using the |
Message from 张盛宇: Patch Set 4: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
Message from 张盛宇: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
Message from Srinivas Pokala: Patch Set 4: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
Message from 张盛宇: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
Message from Bryan Mills: Patch Set 4: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
Message from [email protected]: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/372398. |
p.Error is not nil.
(double quotes appear in the import path).
Fixes #49137