-
Notifications
You must be signed in to change notification settings - Fork 17.5k
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
test: cleanup fixedbugs/notinheap.go #54846
Comments
Taking a quick look, not all the cases can be rewrite, for example, there's no thing like this anymore:
|
Change https://go.dev/cl/597535 mentions this issue: |
Change https://go.dev/cl/597536 mentions this issue: |
Change https://go.dev/cl/597537 mentions this issue: |
CL 388538 removed unused -G=0 node types. However, the code for checking not-in-heap types for map and channel type was also removed, which is likely not intentional. This CL restores the check, porting removed code to noder. Updates #54846 Change-Id: I2995836b90e36d2684197fefc9829fddfffe8585 Reviewed-on: https://go-review.googlesource.com/c/go/+/597535 Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Keith Randall <khr@google.com>
Follow up review in CL 597535. Updates #54846 Change-Id: Idf586552a22bbc6710c0888f046df0a5d1f0ce4a Reviewed-on: https://go-review.googlesource.com/c/go/+/597537 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Keith Randall <khr@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
After #46731,
//go:notinheap
is gone, however, there's stilltest/fixedbugs/notinheap.go
which is using it. There's no problem with trybot, because the file is ignored:go/test/run.go
Line 1975 in 34f0029
We should revise those test cases:
//go:notinheap
bycgo.Incomplete
.cc @mdempsky @randall77
The text was updated successfully, but these errors were encountered: