Skip to content

Remove unnecessary conditional logic from FlowAnalysisPass#59892

Merged
RikkiGibson merged 1 commit intomainfrom
dev/rigibson/simplify-analyze-logic
Mar 3, 2022
Merged

Remove unnecessary conditional logic from FlowAnalysisPass#59892
RikkiGibson merged 1 commit intomainfrom
dev/rigibson/simplify-analyze-logic

Conversation

@RikkiGibson
Copy link
Copy Markdown
Member

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 RikkiGibson requested a review from a team as a code owner March 2, 2022 20:52
@ghost ghost added the Area-Compilers label Mar 2, 2022
@RikkiGibson
Copy link
Copy Markdown
Member Author

@dotnet/roslyn-compiler for second review

Copy link
Copy Markdown
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