Skip to content
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

Don't replace typevars by their f-bounds in error messages #14723

Merged
merged 1 commit into from Mar 24, 2022

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Mar 21, 2022

We sometimes replace type variables by their bounds to make an error message clearer. But we should never do that if the bound is recursive.

Fixes #14363

@nicolasstucki nicolasstucki merged commit a9e0e2e into scala:main Mar 24, 2022
@nicolasstucki nicolasstucki deleted the fix-14363 branch March 24, 2022 09:35
@Kordyjan Kordyjan added this to the 3.1.3 milestone Aug 1, 2023
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.

Strange error message for failing an Ordered[T] type bound
3 participants