Skip to content

[5.0] Cherry-pick fix and test case for indexing crash in IndexSwiftASTWalker::walkToExprPre #19777

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

Conversation

nathawes
Copy link
Contributor

@nathawes nathawes commented Oct 8, 2018

Cherry-pick fix and test case for crash in IndexSwiftASTWalker::walkToExprPre (due to missing check in SourceEntityWalker::walkToExprPre)

Resolves rdar://problem/45039252

@nathawes
Copy link
Contributor Author

nathawes commented Oct 8, 2018

@swift-ci please test

@nathawes nathawes requested a review from akyrtzi October 8, 2018 22:15
@swift-ci
Copy link
Contributor

swift-ci commented Oct 8, 2018

Build failed
Swift Test Linux Platform
Git Sha - a8644f5

@swift-ci
Copy link
Contributor

swift-ci commented Oct 8, 2018

Build failed
Swift Test OS X Platform
Git Sha - a8644f5

@nathawes
Copy link
Contributor Author

nathawes commented Oct 8, 2018

@swift-ci please test

@swift-ci
Copy link
Contributor

swift-ci commented Oct 8, 2018

Build failed
Swift Test OS X Platform
Git Sha - a8644f5

@swift-ci
Copy link
Contributor

swift-ci commented Oct 9, 2018

Build failed
Swift Test Linux Platform
Git Sha - a8644f5

@slavapestov
Copy link
Contributor

Do you want to pull in 28c5ad3 as well?

@akyrtzi
Copy link
Contributor

akyrtzi commented Oct 9, 2018

Do you want to pull in 28c5ad3 as well?

That fix is not relevant, it was needed due to #19043 which doesn't exist in swift-5.0-branch

@akyrtzi akyrtzi merged commit a2eae37 into swiftlang:swift-5.0-branch Oct 9, 2018
@nathawes nathawes deleted the r45039252-crash-in-IndexSwiftASTWalker-walkToExprPre branch October 9, 2018 17:27
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.

5 participants