Skip to content

Backport "Suppress warnings in comprehensions with 22+ binds" to 3.3 LTS #536

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
Aug 7, 2025

Conversation

tgodzik
Copy link

@tgodzik tgodzik commented Aug 6, 2025

Backports scala#23590 to the 3.3.7.

PR submitted by the release tooling.
[skip ci]

Fixes scala#23164

At that point, we emit a TupleXXL pattern case bundling
all the variable bindings so far. The type tests in these
patterns cannot be checked at runtime due to erasure.
But we know these are safe, so we mark them as `@unchecked`.

[Cherry-picked abc8192]
@tgodzik
Copy link
Author

tgodzik commented Aug 7, 2025

No regressions detected in the community build up to backport-lts-3.3-23641.

Reference

@tgodzik tgodzik merged commit d673d5d into lts-3.3 Aug 7, 2025
22 checks passed
@tgodzik tgodzik deleted the backport-lts-3.3-23590 branch August 7, 2025 17:03
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.

2 participants