Skip to content

[code-completion] Fix crash with missing func body in type-checking #6074

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
Dec 5, 2016

Conversation

benlangmuir
Copy link
Contributor

@benlangmuir benlangmuir commented Dec 5, 2016

We already fail early on a missing body in normal type-checking, but we
missed the case where we call typeCheckAbstractFunctionBodyUntil
directly, as in code-completion.

rdar://problem/28822204
rdar://problem/28845137

We already fail early on a missing body in normal type-checking, but we
missed the case where we call typeCheckAbstractFunctionBodyUntil
directly, as in code-completion.

rdar://problem/28822204
@benlangmuir
Copy link
Contributor Author

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit 081ae71 into swiftlang:master Dec 5, 2016
@benlangmuir benlangmuir deleted the fix-008 branch December 5, 2016 19:36
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