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

Ambiguous Vector instances #2891

Open
durban opened this issue Jun 14, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@durban
Copy link
Contributor

commented Jun 14, 2019

The implicits catsKernelStdPartialOrderForVector and catsKernelStdHashForVector (here) are ambiguous if A has both PartialOrder and Hash instances, and we're looking for an Eq[Vector[A]]. (List seems to have the same problem.)

@kailuowang kailuowang added the bug label Jun 14, 2019

@kailuowang

This comment has been minimized.

Copy link
Member

commented Jun 14, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.