Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Refine MapOps in concurrent.Map, add MapFactory#10891

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
lrytz wants to merge1 commit intoscala:2.13.x
base:2.13.x
Choose a base branch
Loading
fromlrytz:t13047

Conversation

lrytz
Copy link
Member

@lrytzlrytz commentedOct 18, 2024
edited
Loading

ThebuildFromMapOps implicit has
CC[X, Y] <: Map[X, Y] with MapOps[X, Y, CC, _]

ForCC = concurrent.Map the bound is not satisfied, we hadMapOps[_, _, mutable.Map, _].

Fixesscala/bug#13047

Need to see about bin compat...

@scala-jenkinsscala-jenkins added this to the2.13.16 milestoneOct 18, 2024
@lrytz
Copy link
MemberAuthor

lrytz commentedOct 18, 2024
edited
Loading

MiMa verdict:

scala-library: Failed binary compatibility check against org.scala-lang:scala-library:2.13.15! Found 4 potential problems (filtered 1)* static method newBuilder()scala.collection.mutable.Builder in interface scala.collection.concurrent.Map does not have a correspondent in other version* static method from(scala.collection.IterableOnce)java.lang.Object in interface scala.collection.concurrent.Map does not have a correspondent in other version* in other version, classes mixing scala.collection.concurrent.Map need be recompiled to wire to the new static mixin forwarder method all super calls to method mapFactory()scala.collection.MapFactory* object scala.collection.concurrent.Map does not have a correspondent in other version

@SethTisueSethTisue added the library:collectionsPRs involving changes to the standard collection library labelOct 18, 2024
@SethTisue
Copy link
Member

@scala/collections

@SethTisueSethTisue modified the milestones:2.13.16,2.13.17Nov 6, 2024
The `buildFromMapOps` implicit has`CC[X, Y] <: Map[X, Y] with MapOps[X, Y, CC, _]`For `CC = concurrent.Map` the bound is not satisfied,we had `MapOps[_, _, mutable.Map, _]`.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
library:collectionsPRs involving changes to the standard collection librarylibrary:not-forward-bincompat
Projects
None yet
Milestone
2.13.17
Development

Successfully merging this pull request may close these issues.

No BuildFrom instance for concurrent.Map
3 participants
@lrytz@SethTisue@scala-jenkins

[8]ページ先頭

©2009-2025 Movatter.jp