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: compiler crash with "Dictionary should have already been generated" [1.18 backport] #52286

gopherbot opened this issue Apr 11, 2022 · 4 comments


Copy link

@gopherbot gopherbot commented Apr 11, 2022

@ianlancetaylor requested issue #52279 to be considered for backport to the next 1.18 minor release.

@gopherbot Please open a backport to 1.18

This looks like a compiler crash on valid code.

@gopherbot gopherbot added the CherryPickCandidate label Apr 11, 2022
@gopherbot gopherbot added this to the Go1.18.1 milestone Apr 11, 2022
@dmitshur dmitshur removed this from the Go1.18.1 milestone Apr 12, 2022
@dmitshur dmitshur added this to the Go1.18.2 milestone Apr 12, 2022
@heschi heschi removed this from the Go1.18.2 milestone May 10, 2022
@heschi heschi added this to the Go1.18.3 milestone May 10, 2022
Copy link

@mdempsky mdempsky commented May 10, 2022

Reminder for backporting that // rundir needs to become // rundir -G=3.

Copy link

@gopherbot gopherbot commented May 11, 2022

Change mentions this issue: cmd/compile: be sure to export types mentioned in f.i.g. method signature

Copy link

@gopherbot gopherbot commented May 17, 2022

Closed by merging cf5fa2b to release-branch.go1.18.

gopherbot pushed a commit that referenced this issue May 17, 2022

When a fully instantiated generic method is exported, be sure to also
export the types in its signature.

Updates #52279.
Fixes #52286.

Change-Id: Icc6bca05b01f914cf67faaf1bf184eaa5484f521
Run-TryBot: David Chase <>
Reviewed-by: Matthew Dempsky <>
TryBot-Result: Gopher Robot <>
(cherry picked from commit 1284cc2)
Reviewed-by: Keith Randall <>
Reviewed-by: Keith Randall <>
@toothrot toothrot added the CherryPickApproved label May 25, 2022
@gopherbot gopherbot removed the CherryPickCandidate label May 25, 2022
Copy link

@toothrot toothrot commented May 25, 2022

Approved. This is a serious issue with no workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

5 participants