Skip to content

AbstractFlowPass - VisitArrayCreation should use the regular way for visiting initializer.#57612

Merged
AlekseyTs merged 1 commit intodotnet:mainfrom
AlekseyTs:Issue57572
Nov 8, 2021
Merged

AbstractFlowPass - VisitArrayCreation should use the regular way for visiting initializer.#57612
AlekseyTs merged 1 commit intodotnet:mainfrom
AlekseyTs:Issue57572

Conversation

@AlekseyTs
Copy link
Copy Markdown
Contributor

An array initializer node is a valid region designator for the Region Analysis.
Therefore, the analysis should be able to track when we enter/leave the region.
Fixes #57572.

…visiting `initializer`.

An array initializer node is a valid region designator for the Region Analysis.
Therefore, the analysis should be able to track when we enter/leave the region.
Fixes dotnet#57572.
@AlekseyTs
Copy link
Copy Markdown
Contributor Author

@dotnet/roslyn-compiler Please review, need a second sign-off.

@AlekseyTs AlekseyTs merged commit cf14a20 into dotnet:main Nov 8, 2021
@ghost ghost added this to the Next milestone Nov 8, 2021
@allisonchou allisonchou modified the milestones: Next, 17.1.P2 Nov 30, 2021
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.

AnalyzeDataFlow fails for InitializerExpressionSyntax if it is a child of an ArrayCreationExpressionSyntax

4 participants