Skip to content
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/compile: ICE: "shape types have no methods SLICE-[]go.shape.int_0" #53328

Open
mdempsky opened this issue Jun 10, 2022 · 1 comment
Open

cmd/compile: ICE: "shape types have no methods SLICE-[]go.shape.int_0" #53328

mdempsky opened this issue Jun 10, 2022 · 1 comment
Labels
NeedsFix
Milestone

Comments

@mdempsky
Copy link
Member

@mdempsky mdempsky commented Jun 10, 2022

https://go.dev/play/p/K4Tl6--ea27

Program should print []int\n and exit with success, but instead it ICEs.

/cc @randall77 @dr2chase @cuonglm

@mdempsky mdempsky added the NeedsFix label Jun 10, 2022
@mdempsky mdempsky added this to the Go1.20 milestone Jun 10, 2022
@gopherbot
Copy link

@gopherbot gopherbot commented Jun 10, 2022

Change https://go.dev/cl/411695 mentions this issue: [dev.unified] test: add regress tests for #53276 and #53328

gopherbot pushed a commit that referenced this issue Jun 10, 2022
These two tests fail with the 1.18 compiler frontend, because of
incomplete dictionary support. This CL adds the tests for Unified IR,
which currently handles them correctly, to make sure it doesn't repeat
the same errors.

Updates #53276.
Updates #53328.

Change-Id: I9f436495d28f2bc5707a17bd2527c86abacf91f1
Reviewed-on: https://go-review.googlesource.com/c/go/+/411695
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsFix
Projects
None yet
Development

No branches or pull requests

2 participants