Skip to content

[5.0][ConstraintSystem] Properly cache type for literal initialization coercions #19987

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
Oct 23, 2018

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Oct 22, 2018

Since original implicit coercion expression is preserved in AST
it needs to have its simplified type cached in the constraint
system in order for AST to get the correct type when solution
is fully applied.

Resolves: rdar://problem/45415874
(cherry picked from commit 4197cfd)

…rcions

Since original implicit coercion expression is preserved in AST
it needs to have its simplified type cached in the constraint
system in order for AST to get the correct type when solution
is fully applied.

Resolves: rdar://problem/45415874
(cherry picked from commit 4197cfd)
@xedin
Copy link
Contributor Author

xedin commented Oct 22, 2018

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - d141935

@xedin
Copy link
Contributor Author

xedin commented Oct 23, 2018

@shahmishal Do you know whats-up with these configuration errors?

@xedin
Copy link
Contributor Author

xedin commented Oct 23, 2018

@swift-ci please clean test Linux platform

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - d141935

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - d141935

@xedin
Copy link
Contributor Author

xedin commented Oct 23, 2018

Ok, looks like PR testing is completely broken for 5.0 branch :(

@xedin
Copy link
Contributor Author

xedin commented Oct 23, 2018

@shahmishal Could you please force merge this PR?

@shahmishal shahmishal merged commit a556d39 into swiftlang:swift-5.0-branch Oct 23, 2018
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