Skip to content

[ASTMangler] Don't verify the USR mangling for invalid decls #28397

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
merged 1 commit into from
Nov 21, 2019

Conversation

nathawes
Copy link
Contributor

USRs generated for the index store and IDE requests for invalid decls are best-effort. They're just serving as a mostly-unique id for use when talking to the indexer in this case, so we don't need to guarantee they can be de- or re-mangled.

We were hitting some of these cases in the projects and crash traces mentioned in #28051

USRs generated for the index store and sourcekit requests for invalid decls are
best-effort – we don't need to guarantee they can be de- or re-mangled.
@nathawes nathawes requested a review from akyrtzi November 21, 2019 01:31
@nathawes
Copy link
Contributor Author

@swift-ci please test

@nathawes nathawes merged commit 2ad52fb into swiftlang:master Nov 21, 2019
@nathawes nathawes deleted the cursor-info-assertion branch November 21, 2019 16:38
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.

2 participants