Skip to content

Suggest where keyword in generic local function declarations#72838

Merged
sharwell merged 4 commits intodotnet:mainfrom
Rekkonnect:fix/72821
Apr 2, 2024
Merged

Suggest where keyword in generic local function declarations#72838
sharwell merged 4 commits intodotnet:mainfrom
Rekkonnect:fix/72821

Conversation

@Rekkonnect
Copy link
Contributor

@Rekkonnect Rekkonnect commented Apr 2, 2024

Closes #72821

@Rekkonnect Rekkonnect requested review from a team as code owners April 2, 2024 12:12
@ghost ghost added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 2, 2024
@dotnet-policy-service dotnet-policy-service bot added the Community The pull request was submitted by a contributor who is not a Microsoft employee. label Apr 2, 2024
@DoctorKrolic
Copy link
Contributor

This also adds a public API:

Public APIs need to go through API review process first. You cannot just add public API to simplify your IDE fix as you go

Copy link
Contributor

@sharwell sharwell left a comment

Choose a reason for hiding this comment

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

Need to remove the Arity property and inline the computed value where it was used.

@Rekkonnect
Copy link
Contributor Author

@sharwell removed the public API, ptal

@Rekkonnect Rekkonnect requested a review from sharwell April 2, 2024 12:54
@Rekkonnect
Copy link
Contributor Author

@sharwell can you please rerun the checks that crashed?

Copy link
Contributor

@CyrusNajmabadi CyrusNajmabadi left a comment

Choose a reason for hiding this comment

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

lgtm with suggestions.

Co-Authored-By: Cyrus Najmabadi <4564579+CyrusNajmabadi@users.noreply.github.com>
auto-merge was automatically disabled April 2, 2024 16:01

Head branch was pushed to by a user without write access

@sharwell sharwell enabled auto-merge April 2, 2024 16:21
@sharwell sharwell merged commit cf8b467 into dotnet:main Apr 2, 2024
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Apr 2, 2024
@Rekkonnect Rekkonnect deleted the fix/72821 branch April 2, 2024 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Compilers Community The pull request was submitted by a contributor who is not a Microsoft employee. 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.

where is not suggested when adding the first type constraint to a local function

5 participants