Skip to content

Conversation

@WojciechMazur
Copy link
Contributor

Backports #22953 to the 3.7.0-RC2.

PR submitted by the release tooling.

odersky added 3 commits April 14, 2025 11:39
 1. Fix translation for named patterns where the selector is a single-element
    named tuple. We used to take the whole tuple as result (which is correct
    for unnamed patterns) but for named patterns we have to select the field
    instead.
 2. Take account of named patterns in the refutability check.

[Cherry-picked cb97658]
[Cherry-picked ca80310]
@WojciechMazur WojciechMazur merged commit 1c80c61 into release-3.7.0 Apr 14, 2025
52 checks passed
@WojciechMazur WojciechMazur deleted the backport-release-3.7.0-22953 branch April 14, 2025 14:31
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