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

Mixer's for non-primitive types #21

Closed
mcgizzle opened this issue Jul 9, 2019 · 1 comment · Fixed by #23
Closed

Mixer's for non-primitive types #21

mcgizzle opened this issue Jul 9, 2019 · 1 comment · Fixed by #23
Labels
bug Something isn't working

Comments

@mcgizzle
Copy link
Collaborator

mcgizzle commented Jul 9, 2019

The following will not compile

  @Atomic class A
  @Atomic class B
  implicitly[Mixer[(A,B), B]]

However if we swap the the classes for traits or primitives (String, Int, ect) it works fine.

See PR #20 for tests demonstrating the issue

@mcgizzle mcgizzle added the bug Something isn't working label Jul 9, 2019
@mcgizzle
Copy link
Collaborator Author

mcgizzle commented Jul 9, 2019

The failure comes from atomiseThenImpl and bIsAtomRecurse conflicting and causing ambiguous implicits.

Making bIsAtomRecurse lower priority solves the issue however it would be better to first understand why it is occurring first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant