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

Capture some of the invariants around InputType/NarrowedType in patterns #76434

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

AlekseyTs
Copy link
Contributor

No description provided.

@AlekseyTs AlekseyTs requested a review from a team as a code owner December 14, 2024 18:16
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged Issues and PRs which have not yet been triaged by a lead label Dec 14, 2024
@AlekseyTs AlekseyTs requested a review from jcouv December 14, 2024 21:22
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.

LGTM Thanks (iteration 2)

@jcouv jcouv self-assigned this Dec 16, 2024
@AlekseyTs AlekseyTs requested a review from a team December 16, 2024 14:08
@AlekseyTs
Copy link
Contributor Author

@dotnet/roslyn-compiler For the second review

Comment on lines +18 to +19
// Is it worth asserting that NarrowedType is either the InputType, or or the NarrowedType
// of one of the leaves in the Disjunction hierarchy?
Copy link
Member

Choose a reason for hiding this comment

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

Feels like would be potentially a lot of walking in debug mode.

@AlekseyTs AlekseyTs merged commit 070b69d into dotnet:main Dec 16, 2024
24 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Dec 16, 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.

3 participants