-
-
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
Ambiguous Vector instances #2891
Comments
I am not sure if we can fix it for Scala 2.11 without breaking BC. We might have to leave it as is on 2.11 and do a scala version specific fix for 2.12+. Or we simply drop 2.11 which is more likely now than before. |
The fix in #3100 ended up breaking bincompat (MiMa missed it), so we had to revert it for now. |
Hi! I tried to replicate this error in Scala212, Scala213 and Scala3 with the following script:
And got successful executions every time. Let me know if there is another situation that breaks, but otherwise the issue could be closed. |
Thanks! |
The implicits
catsKernelStdPartialOrderForVector
andcatsKernelStdHashForVector
(here) are ambiguous ifA
has bothPartialOrder
andHash
instances, and we're looking for anEq[Vector[A]]
. (List
seems to have the same problem.)The text was updated successfully, but these errors were encountered: