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/types2: compiler internal hook needs study/revision/repair #67477

Open
dr2chase opened this issue May 17, 2024 · 0 comments
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@dr2chase
Copy link
Contributor

For purposes of supporting a corner case in rangefunc iterators, CL 584596 added a file containing a compiler hook (an additional method on *types2.Signature) to types2. This is irksome, but was the least-bad choice we could devise in the available time. It would be nice to do better in the future.

@dmitshur dmitshur added this to the Backlog milestone May 17, 2024
@dmitshur dmitshur added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label May 17, 2024
@dmitshur dmitshur changed the title types2: compiler internal hook needs study/revision/repair cmd/compile/internal/types2: compiler internal hook needs study/revision/repair May 17, 2024
@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Development

No branches or pull requests

3 participants