Skip to content

[ConstraintSystem] Properly cache type for literal initialization coe… #19980

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 22, 2018

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Oct 22, 2018

…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

…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
@xedin xedin requested a review from rudkx October 22, 2018 16:45
@xedin
Copy link
Contributor Author

xedin commented Oct 22, 2018

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Oct 22, 2018

@swift-ci please test source compatibility

@harlanhaskins
Copy link
Contributor

Thanks @xedin!

@xedin xedin merged commit edb21b2 into swiftlang:master Oct 22, 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