Skip to content

[code-completion] Fix crash in typeCheckConstructorBodyUntil with null nominal context #6076

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

With erroneous code, such as in code-completion, it's not safe to assume
that the constructor is inside a nominal decl context.

rdar://problem/28867794

…l nominal context

With erroneous code, such as in code-completion, it's not safe to assume
that the constructor is inside a nominal decl context.

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

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit c14391d into swiftlang:master Dec 5, 2016
@benlangmuir benlangmuir deleted the fix-040 branch December 5, 2016 20: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