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

Unify handling of directive parsing accross multiple code paths #63832

Merged
merged 2 commits into from
Sep 12, 2022

Conversation

tmat
Copy link
Member

@tmat tmat commented Sep 7, 2022

We have multiple code paths that create a C# syntax tree. Some of them were creating DirectiveStack seemingly differently than others. We can use a single approach and simplify.

Adds a test that verifies that the effect is the same regardless of how a tree is created.

@tmat tmat changed the title Test Unify handling of directive parsing accross multiple code paths Sep 7, 2022
@tmat tmat marked this pull request as ready for review September 7, 2022 22:09
@tmat tmat requested a review from a team as a code owner September 7, 2022 22:09
@AlekseyTs
Copy link
Contributor

Done with review pass (commit 1)

Copy link
Contributor

@AlekseyTs AlekseyTs left a comment

Choose a reason for hiding this comment

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

LGTM (commit 2)

@tmat tmat merged commit c71fa54 into dotnet:main Sep 12, 2022
@tmat tmat deleted the ParsedTree branch September 12, 2022 03:56
@ghost ghost added this to the Next milestone Sep 12, 2022
@Cosifne Cosifne modified the milestones: Next, 17.4 P3 Sep 26, 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