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

Adjustments because MemberAccessExpr represents the member name as DeclReferenceExpr #246

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Aug 1, 2023

Companion of swiftlang/swift-syntax#1950


We need to take the extra nesting level into account when detecting a member access based on the identifiers name in ActionGenerators.swift.

The extra nesting level changes the way the inside out rewriter generates edits because the accessed member’s name is now one further nesting level deep.

…clReferenceExpr

We need to take the extra nesting level into account when detecting a member access based on the identifiers name in ActionGenerators.swift.

The extra nesting level changes the way the inside out rewriter generates edits because the accessed member’s name is now one further nesting level deep.
@ahoppen
Copy link
Member Author

ahoppen commented Aug 1, 2023

@ahoppen ahoppen changed the title Adjustments because MemberAccessExpr re the member name as DeclReferenceExpr Adjustments because MemberAccessExpr represents the member name as DeclReferenceExpr Aug 1, 2023
@ahoppen ahoppen merged commit 5630666 into swiftlang:main Aug 1, 2023
@ahoppen ahoppen deleted the ahoppen/identifierexpr branch August 1, 2023 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant