Skip to content

[5.3][SourceKit] Fix unreachable hit in DocumentStructureWalker #31341

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

Merged

Conversation

nathawes
Copy link
Contributor

Cherry-pick of #31299 (reviewed by @akyrtzi)

DocumentStructureWalker is calling getObjCSelector which calls isObjc() which eventually triggers name lookup, which is unsupported within ifconfig ranges.

Resolves rdar://problem/61967092

@nathawes nathawes added the r5.3 label Apr 27, 2020
@nathawes
Copy link
Contributor Author

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - b6a64c2

@nathawes
Copy link
Contributor Author

@swift-ci please test Linux

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - b6a64c2

@akyrtzi
Copy link
Contributor

akyrtzi commented Apr 27, 2020

The lldb REPL failures are unrelated.

@akyrtzi akyrtzi merged commit 6abd588 into swiftlang:release/5.3 Apr 27, 2020
@nathawes nathawes deleted the fix-syntactic-request-crasher-5.3 branch April 27, 2020 23:00
@AnthonyLatsis AnthonyLatsis added swift 5.3 🍒 release cherry pick Flag: Release branch cherry picks labels Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants