Skip to content

[QoI] Improve diagnostics for assignment expression #11042

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
Aug 3, 2017

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jul 18, 2017

Currently visitAssignExpr always attempts to use type
derived from destination as a contextual for assignment
source type-checking, which doesn't always lead to better
results.

Resolves SR-5081.

@xedin xedin force-pushed the rdar-32711708 branch 4 times, most recently from d3207cd to 68c22bb Compare July 19, 2017 22:47
@xedin xedin force-pushed the rdar-32711708 branch 2 times, most recently from aab8772 to 0359499 Compare August 2, 2017 23:59
Currently `visitAssignExpr` always attempts to use type
derived from destination as a contextual type for assignment
source type-checking, which doesn't always lead to better
results.

Resolves: SR-5081
@xedin
Copy link
Contributor Author

xedin commented Aug 3, 2017

@swift-ci please smoke test

@xedin xedin changed the title [WIP] [QoI] Improve diagnostics for assignment expression [QoI] Improve diagnostics for assignment expression Aug 3, 2017
@xedin xedin merged commit 9358671 into swiftlang:master Aug 3, 2017
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.

1 participant