Skip to content

[CodeCompletion] Make getEquivalentDeclContextFromSourceFile safer #31561

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

rintaro
Copy link
Member

@rintaro rintaro commented May 5, 2020

Just add nullptr guard. No test cases because I haven't been able to reproduce the crash.

rdar://problem/62893219

@rintaro
Copy link
Member Author

rintaro commented May 5, 2020

@swift-ci Please smoke test

@rintaro rintaro requested a review from benlangmuir May 5, 2020 16:42
@rintaro rintaro force-pushed the ide-completion-crash-rdar62679517 branch from 7034ff7 to 5cc47fe Compare May 5, 2020 17:51
@rintaro
Copy link
Member Author

rintaro commented May 5, 2020

@swift-ci Please smoke test

@rintaro rintaro merged commit 1d5b70f into swiftlang:master May 5, 2020
@rintaro rintaro deleted the ide-completion-crash-rdar62679517 branch May 5, 2020 20:16
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