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

Support unbound generic types in 'nameof' operator. #75368

Merged
merged 51 commits into from
Nov 19, 2024

Conversation

CyrusNajmabadi
Copy link
Member

@CyrusNajmabadi CyrusNajmabadi commented Oct 3, 2024

Championed proposal: dotnet/csharplang#8480

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Oct 3, 2024
@CyrusNajmabadi CyrusNajmabadi marked this pull request as ready for review November 4, 2024 21:30
@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner November 4, 2024 21:30
@CyrusNajmabadi CyrusNajmabadi changed the title WIP: Support unbound generic types in 'nameof' operator. Support unbound generic types in 'nameof' operator. Nov 4, 2024
Copy link
Member

@jcouv jcouv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done with review pass (iteration 17)

@AlekseyTs
Copy link
Contributor

It feels like we would want to have similar relaxation in VB

Seems like it would be nice there as well. If someone wants to champion that, i'd support it.

If you are not planning to adjust VB, please open an issue to follow up and CC @KathleenDollard on it.

@CyrusNajmabadi
Copy link
Member Author

Opened #75975

Copy link
Contributor

@AlekseyTs AlekseyTs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (commit 49)

@AlekseyTs
Copy link
Contributor

AlekseyTs commented Nov 19, 2024

@CyrusNajmabadi Please squash commits while merging.

@CyrusNajmabadi CyrusNajmabadi enabled auto-merge (squash) November 19, 2024 19:02
@CyrusNajmabadi CyrusNajmabadi merged commit 6fb1f23 into dotnet:main Nov 19, 2024
24 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Nov 19, 2024
@CyrusNajmabadi CyrusNajmabadi deleted the openTypes branch November 19, 2024 20:11
CyrusNajmabadi added a commit that referenced this pull request Nov 21, 2024
…pes. (#75976)

Followup to #75368. Adds an
analyzer/fixer to move to the new simpler form.
@jjonescz jjonescz modified the milestones: Next, 17.13 P2 Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants