Closed gvolpe closed 4 years ago
Cool, thanks a lot for trying the plugin out and raising the issue. I will take a closer look at this later (probably tomorrow) and let you know what I found.
No rush @augustjune, thanks for making it and happy new year :)
The issue is actually caused by incorrect handling of trait methods declared with context bounds. PR link to redis4cats was very helpful. Thanks for improving the state of the project :)
I'm just trying out this plugin in Redis4Cats and stumbled upon the following issue:
This happens with the following algebra, which is a mixin:
There are many other algebras like this but I only get a compiler error with this one. Maybe because the compiler didn't reach out to the other algebras I guess?
Here's the corresponding PR for more details: https://github.com/profunktor/redis4cats/pull/205
EDIT: It happens the same if I make it a single algebra
trait SortedSetCommands[F[_], K, V]
without mixing any other trait but preserving all the methods.