Skip to content

[CSDiagnostics] Look through l-value conversions when mismatch is in … #41504

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
Feb 23, 2022

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Feb 22, 2022

…subscript setter

repairFailures needs a special case when l-value conversion is
associated with a result type of subscript setter because otherwise
it falls through and treats result type as if it's an argument type,
which leads to crashes.

Resolves: rdar://84580119

…subscript setter

`repairFailures` needs a special case when l-value conversion is
associated with a result type of subscript setter because otherwise
it falls through and treats result type as if it's an argument type,
which leads to crashes.

Resolves: rdar://84580119
@xedin xedin requested a review from hborla February 22, 2022 00:33
@xedin
Copy link
Contributor Author

xedin commented Feb 22, 2022

@swift-ci please smoke test

@xedin
Copy link
Contributor Author

xedin commented Feb 22, 2022

@swift-ci please smoke test macOS platform

@xedin xedin merged commit c22649e into swiftlang:main Feb 23, 2022
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