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

Avoid spurious val binding in quote pattern #19948

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

nicolasstucki
Copy link
Contributor

@nicolasstucki nicolasstucki commented Mar 14, 2024

In quoted patterns, we do not want to generate the val bindings. We care about the original structure if the pattern expression.

Fixes #19947

@nicolasstucki nicolasstucki self-assigned this Mar 14, 2024
@nicolasstucki nicolasstucki marked this pull request as ready for review March 15, 2024 07:29
@nicolasstucki nicolasstucki assigned jchyb and unassigned nicolasstucki Mar 18, 2024
@nicolasstucki nicolasstucki merged commit 6586418 into scala:main Mar 19, 2024
19 checks passed
@nicolasstucki nicolasstucki deleted the fix-19947 branch March 19, 2024 14:17
@Kordyjan Kordyjan added this to the 3.4.2 milestone Mar 28, 2024
WojciechMazur added a commit that referenced this pull request Jul 4, 2024
Backports #19948 to the LTS branch.

PR submitted by the release tooling.
[skip ci]
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.

Quote pattern not matching on *:
3 participants