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

Provide equals and hashCode on IterableWrapper again (fixing 2.13.9 regression) #10205

Merged
merged 1 commit into from Nov 4, 2022

Conversation

som-snytt
Copy link
Contributor

@som-snytt som-snytt commented Nov 1, 2022

Followup to #10104

Fixes scala/bug#12683 (regression in 2.13.9)

@scala-jenkins scala-jenkins added this to the 2.13.11 milestone Nov 1, 2022
@SethTisue SethTisue added the release-notes worth highlighting in next release notes label Nov 1, 2022
@som-snytt som-snytt marked this pull request as ready for review November 3, 2022 21:02
@som-snytt
Copy link
Contributor Author

Per the test, Iterator does not delegate, so even if the wrapped iterators are eq etc. Not obvious to me that there is any useful semantics. Alternatively, obviously equal if eq or wrapped iterators are eq.

Copy link
Member

@lrytz lrytz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@lrytz lrytz merged commit adb6dba into scala:2.13.x Nov 4, 2022
@som-snytt som-snytt deleted the regress/equals-converters branch November 4, 2022 11:33
@SethTisue SethTisue changed the title Restore IterableWrapper equals and hashCode Provide equals and hashCode on IterableWrapper again (fixing 2.13.9 regression) Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes worth highlighting in next release notes
Projects
None yet
5 participants