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

Remove unnecessary conditional logic from FlowAnalysisPass #59892

Merged
merged 1 commit into from
Mar 3, 2022

Conversation

RikkiGibson
Copy link
Contributor

This logic was added to ensure that synthesized, non-default struct constructors were flow analyzed to report definite assignment errors. Such constructors no longer exist due to dotnet/csharplang#5552. Therefore there's no longer a need to check for them.

@cston for review.

@RikkiGibson
Copy link
Contributor Author

@dotnet/roslyn-compiler for second review

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 1)

@jcouv jcouv self-assigned this Mar 3, 2022
@RikkiGibson RikkiGibson merged commit 55f189c into main Mar 3, 2022
@RikkiGibson RikkiGibson deleted the dev/rigibson/simplify-analyze-logic branch March 3, 2022 00:50
@ghost ghost added this to the Next milestone Mar 3, 2022
@allisonchou allisonchou modified the milestones: Next, 17.2.P3 Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants