Skip to content

[5.6][SR-15562] [Sema] Do not consider warning fixes for non-augmenting fix recording #40498

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

Conversation

LucianoPAlmeida
Copy link
Contributor

Cherry-pick: #40480

Explanation:
Warning fixes recorded would make solver to skip recording non-augmenting error fixes if they had the same anchor or is anchored in a sub-expression, leaving the type checker in a state where it could not produce a diagnostic.

Scope: Limited to constraint solver diagnostics.

Main Branch PR: #40480

Resolves: SR-15562

Risk: Low

Reviewed By: @xedin

Testing: Regression tests added

…-diag

[SR-15562] [Sema] Do not consider warning fixes for non-augmenting fix recording
@LucianoPAlmeida
Copy link
Contributor Author

@swift-ci Please test

@LucianoPAlmeida LucianoPAlmeida changed the title Merge pull request #40480 from LucianoPAlmeida/SR-15562-fail-diag [5.6][SR-15562] [Sema] Do not consider warning fixes for non-augmenting fix recording Dec 10, 2021
@LucianoPAlmeida LucianoPAlmeida merged commit ef10321 into swiftlang:release/5.6 Dec 10, 2021
@LucianoPAlmeida LucianoPAlmeida deleted the SR-15562-to-56 branch December 10, 2021 10:43
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