Navigation Menu

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

go/types, types2: cannot handle self-recursive constraints (known bug) #39724

Closed
griesemer opened this issue Jun 20, 2020 · 2 comments
Closed
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@griesemer
Copy link
Contributor

griesemer commented Jun 20, 2020

Reminder issue that we cannot handle cases such as this at the moment:

type C(type T C(T)) interface {}
@griesemer griesemer added the NeedsFix The path to resolution is known, but the work has not been done. label Jun 20, 2020
@griesemer griesemer added this to the Unreleased milestone Jun 20, 2020
@griesemer griesemer self-assigned this Jun 20, 2020
@griesemer griesemer changed the title cmd/go2go: cannot handle self-recursive constraints (known bug) go/types, types2: cannot handle self-recursive constraints (known bug) Mar 18, 2022
@griesemer
Copy link
Contributor Author

This is currently not permitted. We may want to revisit this. This is a duplicate of another issue (need to find it).

@griesemer griesemer modified the milestones: Unreleased, Go1.19 Mar 18, 2022
@griesemer
Copy link
Contributor Author

Closing as duplicate of the (newer) #40882 which has more relevant discussion.

@golang golang locked and limited conversation to collaborators Jun 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

2 participants