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

Guard against recursive lower bounds in constraints #21587

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Sep 13, 2024

We could get an indirect recursion going through a singleton type before.

Fixes #21535

We could get an indirect recursion going through a singleton type before.

Fixes scala#21535
Copy link
Member

@smarter smarter left a comment

Choose a reason for hiding this comment

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

LGTM though it seems like the error message we get here isn't very clear.

@smarter smarter merged commit e5be3a1 into scala:main Sep 13, 2024
28 checks passed
@smarter smarter deleted the fix-21535 branch September 13, 2024 20:40
@WojciechMazur WojciechMazur added this to the 3.6.0 milestone Oct 8, 2024
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.

StackOverflowError when using conditional and named parameters
3 participants