Skip to content

Emit an error for quoted pattern type variable after new #23618

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 3 commits into from
Jul 30, 2025

Conversation

mbovel
Copy link
Member

@mbovel mbovel commented Jul 28, 2025

This PR implements what is described in #22616 (comment) and previous comments. Closes #22616.

@mbovel mbovel requested a review from jchyb July 28, 2025 20:21
@mbovel mbovel marked this pull request as ready for review July 29, 2025 02:01
@jchyb jchyb added the backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. label Jul 30, 2025
@jchyb
Copy link
Contributor

jchyb commented Jul 30, 2025

Sorry, I did not notice this PR until now. Would it be possible to still backport this to 3.7.3? @WojciechMazur

@jchyb jchyb merged commit 15675ba into scala:main Jul 30, 2025
39 checks passed
@jchyb jchyb deleted the mb/22616-2 branch July 30, 2025 12:57
@WojciechMazur WojciechMazur added this to the 3.7.3 milestone Jul 30, 2025
@WojciechMazur
Copy link
Contributor

Would it be possible to still backport this to 3.7.3?

Sure, we can do that

WojciechMazur added a commit that referenced this pull request Aug 1, 2025
… to 3.7.3 (#23644)

Backports #23618 to the 3.7.3-RC1.

PR submitted by the release tooling.
[skip ci]
@WojciechMazur WojciechMazur added backport:done This PR was successfully backported. and removed backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. labels Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:done This PR was successfully backported.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to match a lower-case constructor in quoted pattern
3 participants