You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for long silence, thanks a lot for reporting the issue and proposing a solution. As far as I checked it works well and there are no issues with binary compatibility. I'm preparing a proper fix.
Hello,
This tagging library is suffering from the same issue as shapeless: milessabin/shapeless#644
This will throw a
ClassCastException
You can also run/checkout this scastie: https://scastie.scala-lang.org/kwark/h4No8bhdQGKIEBV14rTkrA
A solution is to make
Tag
a universal trait instead of a type alias:trait Tag[+U] extends Any { type Tag <: U }
Also see: https://scastie.scala-lang.org/kwark/575syCWTQIWsVaeJAKVxoQ
You might want to check binary compatibility.
The text was updated successfully, but these errors were encountered: