Skip to content

[AST] Preserve l-valueness of covariant result type after replacement #34673

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
Nov 11, 2020

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Nov 10, 2020

It's possible that covariant result type is wrapped in l-value.
Just like currently preserved optionality, transformation should
maintain l-valueness of a result type as well.

Resolves rdar://problem/71167129

@xedin xedin requested review from slavapestov and hborla November 10, 2020 23:11
@xedin
Copy link
Contributor Author

xedin commented Nov 10, 2020

@swift-ci please smoke test

It's possible that covariant result type is wrapped in l-value.
Just like currently preserved optionality, transformation should
maintain l-valueness of a result type as well.

Resolves: rdar://problem/71167129
@xedin
Copy link
Contributor Author

xedin commented Nov 11, 2020

@swift-ci please smoke test

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