Skip to content

[Diagnostics] Fix checking for presence of type variables in closure return expression #9974

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
May 30, 2017

Conversation

xedin
Copy link
Contributor

@xedin xedin commented May 30, 2017

Instead of validating sub-expressions included in the closure's result
diagnoseAmbiguousMultiStatementClosure was only checking parent expression
by mistake.

…return expression

Instead of validating sub-expressions included in the closure's result
`diagnoseAmbiguousMultiStatementClosure` was only checking parent expression
by mistake.
@xedin
Copy link
Contributor Author

xedin commented May 30, 2017

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit 458be55 into swiftlang:master May 30, 2017
@practicalswift
Copy link
Contributor

Thanks!

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.

3 participants