Skip to content

Conversation

WojciechMazur
Copy link
Contributor

Backports #21286 to the 3.6.2.

PR submitted by the release tooling.
[skip ci]

to only require it be defined on the elements of the tuple.

This is one of the ongoing proposed tuple improvements, addressing #19175.

As carefully pointed out by @sjrd, this _is_ a potential breaking change.
See tests/neg/tuple-filter-compat.scala for an example.

This is not an unprecedented change however,
the analogous improvements were made to `Tuple.{Map, FlatMap}` in 28a695e.

[Cherry-picked a1d7f5e]
@WojciechMazur
Copy link
Contributor Author

No regressions detected in the community build up to release-3.6.2-backport-21949.

Reference

@WojciechMazur WojciechMazur merged commit 650efea into release-3.6.2 Nov 18, 2024
32 checks passed
@WojciechMazur WojciechMazur deleted the release-3.6.2-backport-21286 branch November 18, 2024 16:11
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