Skip to content

Make sure Block does not incorrectly match a TypeBlock #22716

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 1 commit into from
Mar 5, 2025

Conversation

jchyb
Copy link
Contributor

@jchyb jchyb commented Mar 5, 2025

Part 2 to #21722
We do the same thing as there, but this time to make sure TypeBlocks are not matched as Blocks. The tests from that PR were also moved, as I did not realize they were put in tests/pos instead of tests/pos-macros when making the review.

@jchyb jchyb requested a review from hamzaremmal March 5, 2025 11:35
@hamzaremmal hamzaremmal merged commit 332fceb into scala:main Mar 5, 2025
29 checks passed
@hamzaremmal hamzaremmal deleted the fix-block-matching branch March 5, 2025 14:18
@WojciechMazur WojciechMazur added this to the 3.7.0 milestone Mar 11, 2025
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.

3 participants