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

Return a keyPathInParent for syntax collections #1921

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ahoppen
Copy link
Collaborator

@ahoppen ahoppen commented Jul 17, 2023

Previously, keyPathInParent returned nil for nodes that occurred in SyntaxCollections. Return a subscript-based key path instead.

rdar://111944659

@ahoppen ahoppen requested a review from bnbarham July 17, 2023 22:02
@ahoppen
Copy link
Collaborator Author

ahoppen commented Jul 18, 2023

@swift-ci Please test

Previously, `keyPathInParent` returned `nil` for nodes that occurred in `SyntaxCollection`s. Return a subscript-based key path instead.

rdar://111944659
@ahoppen ahoppen force-pushed the ahoppen/collection-key-path branch from 1e4dbc7 to 4fba178 Compare July 18, 2023 23:14
@ahoppen
Copy link
Collaborator Author

ahoppen commented Jul 18, 2023

@swift-ci Please test

@ahoppen
Copy link
Collaborator Author

ahoppen commented Jul 18, 2023

@swift-ci Please test Windows

1 similar comment
@kimdv
Copy link
Collaborator

kimdv commented Jul 19, 2023

@swift-ci Please test Windows

@ahoppen
Copy link
Collaborator Author

ahoppen commented Jul 19, 2023

@swift-ci Please test

@kimdv
Copy link
Collaborator

kimdv commented Jul 21, 2023

@swift-ci please test Windows

@bnbarham
Copy link
Contributor

Windows failure does actually look related unfortunately. Though more like a compiler bug than an issue with this PR 😅

@ahoppen
Copy link
Collaborator Author

ahoppen commented Aug 2, 2023

This is triggering SIL verification failures on Windows (https://github.com/apple/swift/67676). Marking as draft until that’s fixed

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.

None yet

3 participants