-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Scala 3 Ambiguous Implicits in UnorderedFoldable #4370
Comments
If anyone wants to give it a try: I wonder if we can fix this by de-prioritizing the cats/core/src/main/scala/cats/UnorderedFoldable.scala Lines 127 to 129 in f2c78d9
|
Hi, if no one is working on it yet I can give it a try |
@UlisesTorrella yes please, thank you! |
I've implemented the de-prioritization of the seq instances in UnorderedFoldable like this:
And though it solves this issue, it rises plenty warnings of the type |
@UlisesTorrella nice work! Would you mind putting up a PR for further discussion, and to give CI a crack at it? Thanks! |
Using cats 2.9.0 and Scala 3.2.1, this code results in a migration warning (or an error in Scastie)
I saw this locally:
and see this error in Scastie (which is actually Scala 3.2.0, and isn't cross-building with sbt-typelevel, like I was locally)
The text was updated successfully, but these errors were encountered: