Skip to content

Refactorings for CC error reporting #23260

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 6 commits into from
May 27, 2025
Merged

Conversation

odersky
Copy link
Contributor

@odersky odersky commented May 25, 2025

Be more systematic which error are added to messages.

Harmonize treatment in TypeComparer, CaptureSet, and Capability. Now, all their comparison operations return boolean results and can additionally install error notes in the current TypeComparer. Error notes
are shown if they are relevant for the overall outcome of the comparison.

@odersky odersky requested a review from bracevac May 26, 2025 07:04
Copy link
Contributor

@bracevac bracevac left a comment

Choose a reason for hiding this comment

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

LGTM!

@odersky odersky merged commit 515c3e1 into scala:main May 27, 2025
30 checks passed
@odersky odersky deleted the level-error-notes branch May 27, 2025 13:12
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