-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
go/ssa: add position data in indexed range loops #190
Conversation
Indexed range loops are lacking position data in their SSA representation, so add the position data into an index operation This improves the problem described in golang/go#31008 by providing position data with the nilness message
This PR (HEAD: 75831d2) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/tools/+/208599 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/208599. |
Message from Robert Findley: Patch Set 1: Hi, sorry for the delay on this small CL. This change seems entirely reasonable, but I'm ramping up on go/ssa and want to understand the library better before LGTM'ing. I'll try to get this done this week, and get a +2 from either Ian or Michael after the holiday break. Thanks for being patient! Please don’t reply on this GitHub thread. Visit golang.org/cl/208599. |
Message from Robert Findley: Patch Set 1: Code-Review+1 (1 comment)
LGTM modulo my comment on the commit message. This definitely improves the nilness error message. Thanks again! Will +2 after discussing the problem with Michael. Please don’t reply on this GitHub thread. Visit golang.org/cl/208599. |
Message from Vladimir Evgrafov: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/208599. |
Message from Robert Findley: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/208599. |
Message from Robert Findley: Patch Set 2: Run-TryBot+1 Code-Review+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/208599. |
Message from Gobot Gobot: Patch Set 2: TryBots beginning. Status page: https://farmer.golang.org/try?commit=cc284232 Please don’t reply on this GitHub thread. Visit golang.org/cl/208599. |
Message from Gobot Gobot: Patch Set 2: 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/208599. |
Message from Rebecca Stambler: Patch Set 4: Patch Set 3 was rebased Please don’t reply on this GitHub thread. Visit golang.org/cl/208599. |
Message from Robert Findley: Patch Set 4: Run-TryBot+1 Code-Review+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/208599. |
Message from Gobot Gobot: Patch Set 4: TryBots beginning. Status page: https://farmer.golang.org/try?commit=deb7d074 Please don’t reply on this GitHub thread. Visit golang.org/cl/208599. |
Message from Gobot Gobot: Patch Set 4: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/208599. |
Message from Robert Findley: Patch Set 4: Code-Review+2 Please don’t reply on this GitHub thread. Visit golang.org/cl/208599. |
Indexed range loops are lacking position data in their SSA representation, so add the position data into an index operation. This improves the nilness output by providing position data with the message. Updates golang/go#31008 Change-Id: I664c8668bc74207e770657e21129d20fd70e7af6 GitHub-Last-Rev: 75831d2 GitHub-Pull-Request: #190 Reviewed-on: https://go-review.googlesource.com/c/tools/+/208599 Run-TryBot: Robert Findley <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Robert Findley <[email protected]>
This PR is being closed because golang.org/cl/208599 has been merged. |
Indexed range loops are lacking position data
in their SSA representation, so add the position data
into an index operation.
This improves the nilness output by providing position data
with the message.
Updates golang/go#31008