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: internal compiler error for generic function on embedded struct #54471

Closed
bangzek opened this issue Aug 16, 2022 · 6 comments
Closed
Assignees
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. FrozenDueToAge
Milestone

Comments

@bangzek
Copy link

bangzek commented Aug 16, 2022

What version of Go are you using (go version)?

$ go version
go version go1.19 linux/amd64

Does this issue reproduce with the latest release?

Yes

What did you do?

https://go.dev/play/p/k1QHUywARe8

What did you expect to see?

It compile just fine on go 1.18

What did you see instead?

Compile error unless I uncomment line 47-51

@cuonglm
Copy link
Member

cuonglm commented Aug 16, 2022

Seem duplicated of #54058 #54225 #54348

@cuonglm cuonglm changed the title internal compiler error for generic function on embedded struct cmd/compile: internal compiler error for generic function on embedded struct Aug 16, 2022
@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Aug 16, 2022
@mknyszek mknyszek added this to the Go1.20 milestone Aug 17, 2022
@cuonglm

This comment was marked as outdated.

@cuonglm cuonglm closed this as completed Sep 5, 2022
@mdempsky

This comment was marked as off-topic.

@cuonglm

This comment was marked as outdated.

@cuonglm
Copy link
Member

cuonglm commented Sep 5, 2022

@mdempsky Hmm, it's actually my operation error. Without CL 428356, the program is built ok in non-unified at tip, so there must be other fix. I'm bisecting to find exact one.

@cuonglm cuonglm reopened this Sep 5, 2022
@cuonglm
Copy link
Member

cuonglm commented Sep 5, 2022

@mdempsky https://go-review.googlesource.com/c/go/+/422274 fixes this, so it's duplicated of #54348

@cuonglm cuonglm closed this as completed Sep 5, 2022
@golang golang locked and limited conversation to collaborators Sep 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. FrozenDueToAge
Projects
None yet
Development

No branches or pull requests

5 participants