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

Always interpret underscores inside patterns as type bounds #21718

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

mbovel
Copy link
Member

@mbovel mbovel commented Oct 7, 2024

Always interpret underscores inside patterns as type bounds, even when ctx.settings.XkindProjector.value == "underscores".

Fixes #14952 and fixes #21400.

Issue introduced in #12378.

Always treat underscores as type bounds inside patterns, even when `ctx.settings.XkindProjector.value == "underscores"`.

Fixes scala#14952 and scala#21400.
@mbovel mbovel requested a review from smarter October 7, 2024 17:49
@smarter smarter enabled auto-merge October 7, 2024 18:00
@smarter smarter merged commit 6c7619a into scala:main Oct 7, 2024
27 checks passed
@mbovel mbovel deleted the mb/21400 branch October 8, 2024 08:55
@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
3 participants