-
Notifications
You must be signed in to change notification settings - Fork 2.3k
go/packages: Fix loading syntax for imports when types not requested. #189
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
Conversation
This PR (HEAD: 56eba13) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/tools/+/208597 to see it. Tip: You can toggle comments from me using the |
Message from Gobot Gobot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be During May-July and Nov-Jan the Go project is in a code freeze, during which Please don’t reply on this GitHub thread. Visit golang.org/cl/208597. |
Message from Michael Matloob: Patch Set 1: Code-Review+2 Please don’t reply on this GitHub thread. Visit golang.org/cl/208597. |
Message from Alex Zhirov: Patch Set 1: Thanks Michael for the review. If there are no issues to address in this CL, can it be merged? Please don’t reply on this GitHub thread. Visit golang.org/cl/208597. |
Message from Michael Matloob: Patch Set 1: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/208597. |
Message from Gobot Gobot: Patch Set 1: TryBots beginning. Status page: https://farmer.golang.org/try?commit=94c2fb09 Please don’t reply on this GitHub thread. Visit golang.org/cl/208597. |
Message from Michael Matloob: Patch Set 1: yeah, could you rebase onto the top of the tree? Please don’t reply on this GitHub thread. Visit golang.org/cl/208597. |
Message from Gobot Gobot: Patch Set 1: Build is still in progress... Other builds still in progress; subsequent failure notices suppressed until final report. Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed. Please don’t reply on this GitHub thread. Visit golang.org/cl/208597. |
http://golang.org/cl/205160 fixed an issue when package syntax wasn't loaded unless NeedTypes was specified, but syntax of imported packages wasn't loaded even with NeedDeps specified. This change corrects this error. Fixes issue #35331.
56eba13
to
e81ddd0
Compare
This PR (HEAD: e81ddd0) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/tools/+/208597 to see it. Tip: You can toggle comments from me using the |
Message from Alex Zhirov: Patch Set 1:
Done. Please don’t reply on this GitHub thread. Visit golang.org/cl/208597. |
Message from Michael Matloob: Patch Set 2: Run-TryBot+1 Ok, hopefully the trybots pass on the rebased commit. Please don’t reply on this GitHub thread. Visit golang.org/cl/208597. |
Message from Gobot Gobot: Patch Set 2: TryBots beginning. Status page: https://farmer.golang.org/try?commit=42063750 Please don’t reply on this GitHub thread. Visit golang.org/cl/208597. |
Message from Gobot Gobot: Patch Set 2: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/208597. |
http://golang.org/cl/205160 fixed an issue when package syntax wasn't loaded unless NeedTypes was specified, but syntax of imported packages wasn't loaded even with NeedDeps specified. This change corrects this error. Fixes issue #35331. Change-Id: If6d78f01eb59d406e44ab6746f2da9e797bbf8e2 GitHub-Last-Rev: e81ddd0 GitHub-Pull-Request: #189 Reviewed-on: https://go-review.googlesource.com/c/tools/+/208597 Run-TryBot: Michael Matloob <matloob@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org>
This PR is being closed because golang.org/cl/208597 has been merged. |
http://golang.org/cl/205160 fixed an issue when package syntax wasn't
loaded unless NeedTypes was specified, but syntax of imported packages
wasn't loaded even with NeedDeps specified. This change corrects this
error.
Fixes issue #35331.