Skip to content

[5.0] [CSSolver] Use correct locator when matching function result types related to closures #14926

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 3 commits into from
Mar 2, 2018

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Mar 1, 2018

Currently we always use 'FunctionResult' as a path element when matching
function result types, but closure result type is allowed to be implicitly
converted to Void, which means we need to be careful when to use
'FunctionResult' and 'ClosureResult'.

Resolves: rdar://problem/37790062

…lated to closures

Currently we always use 'FunctionResult' as a path element when matching
function result types, but closure result type is allowed to be implicitly
converted to Void, which means we need to be careful when to use
'FunctionResult' and 'ClosureResult'.

Resolves: rdar://problem/37790062
(cherry picked from commit 20019be)
@xedin xedin changed the title Rdar 37790062 5.0 [5.0] [CSSolver] Use correct locator when matching function result types related to closures Mar 1, 2018
@xedin
Copy link
Contributor Author

xedin commented Mar 1, 2018

@swift-ci please smoke test and merge

@xedin xedin force-pushed the rdar-37790062-5.0 branch from 0de235b to 189819f Compare March 2, 2018 02:36
@xedin
Copy link
Contributor Author

xedin commented Mar 2, 2018

@swift-ci please smoke test and merge

@xedin
Copy link
Contributor Author

xedin commented Mar 2, 2018

@swift-ci please smoke test Linux platform

@xedin
Copy link
Contributor Author

xedin commented Mar 2, 2018

@shahmishal is there a known problem with Linux CI for 5.0 branch?

@shahmishal
Copy link
Member

Looks like we might need to cherry-pick this on to swift-5.0-branch
#14835

/cc @huonw

@xedin
Copy link
Contributor Author

xedin commented Mar 2, 2018

@shahmishal @huonw I've created PR to address that #14932

@xedin
Copy link
Contributor Author

xedin commented Mar 2, 2018

@swift-ci please smoke test Linux platform

@xedin
Copy link
Contributor Author

xedin commented Mar 2, 2018

Looks like #14932 fixed it, merging!

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