Skip to content

[4.0] [QoI] Improve contextual error diagnostics related to calls #10616

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
Jun 27, 2017

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jun 27, 2017

  • Description: Currently some contextual errors are discovered too late
    which leads to diagnostics of unrelated problems like argument
    mismatches, these changes attempt to improve the situation
    and try to diagnose contextual errors related to calls
    before everything else.

  • Scope of the issue: diagnostic improvements for contextual errors related to calls.

  • Risk: Low.

  • Tested: New test cases added, Swift CI.

  • Reviewed by: Mark Lacey.

  • Resolves: SR-5045, rdar://problem/32934129

Currently some contextual errors are discovered too late
which leads to diagnostics of unrelated problems like argument
mismatches, these changes attempt to improve the situation
and try to diagnose contextual errors related to calls
before everything else.

Resolves: SR-5045, rdar://problem/32934129
(cherry picked from commit 4e6677e)
@xedin xedin requested a review from rudkx June 27, 2017 05:14
@xedin
Copy link
Contributor Author

xedin commented Jun 27, 2017

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Jun 27, 2017

@rudkx please review for 4.0

Copy link
Contributor

@rudkx rudkx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@xedin
Copy link
Contributor Author

xedin commented Jun 27, 2017

@swift-ci please test source compatibility

@xedin xedin added this to the Swift 4.0 milestone Jun 27, 2017
@ematejska ematejska merged commit 92b56e1 into swiftlang:swift-4.0-branch Jun 27, 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.

3 participants