Skip to content

Avoid use of binary incompatible super accessors in SortedMap/Set#9311

Merged
retronym merged 1 commit intoscala:2.12.xfrom
retronym:topic/sorted-map-set-bincompat
Nov 16, 2020
Merged

Avoid use of binary incompatible super accessors in SortedMap/Set#9311
retronym merged 1 commit intoscala:2.12.xfrom
retronym:topic/sorted-map-set-bincompat

Conversation

@retronym
Copy link
Member

No description provided.

@scala-jenkins scala-jenkins added this to the 2.12.14 milestone Nov 11, 2020
@dwijnand dwijnand changed the title Avoid use of binary incompatbile super accessors in SortedMap/Set Avoid use of binary incompatible super accessors in SortedMap/Set Nov 11, 2020
@lrytz
Copy link
Member

lrytz commented Nov 11, 2020

This would have been the right thing to do initially, but aren't we creating a new problem if we merge it at this point? The 2.12.12 standard library defines an abstract SortedSet.scala$collection$immutable$SortedSet$$super$equals method which is invoked from SortedSet.equals.

If we merge this PR, user-defined subclasses compiled with 2.12.13 will no longer implement this super accessor and therefore not work correctly with a 2.12.12 standard library.

@retronym
Copy link
Member Author

retronym commented Nov 11, 2020 via email

@lrytz lrytz force-pushed the topic/sorted-map-set-bincompat branch from 8cb1df6 to b5e6d54 Compare November 13, 2020 09:57
@SethTisue

This comment has been minimized.

@retronym retronym modified the milestones: 2.12.14, 2.12.13 Nov 16, 2020
@retronym retronym merged commit 30c5b82 into scala:2.12.x Nov 16, 2020
hamzaremmal pushed a commit to hamzaremmal/scala3 that referenced this pull request May 2, 2025
…t-bincompat

Avoid use of binary incompatible super accessors in SortedMap/Set
hamzaremmal pushed a commit to scala/scala3 that referenced this pull request May 7, 2025
…t-bincompat

Avoid use of binary incompatible super accessors in SortedMap/Set
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.

4 participants