Closed joroKr21 closed 4 years ago
Just add an implicit classTag: ClassTag[Bar]
in the companion object.
A ClassTag
that points to java.lang.Integer
or Int
? Maybe this should be added by the macro annotation.
In general this doesn't work, e.g.
type HK[G[_], A] = G[A]
@opaque type OpaqueHK[G[_], A] = HK[G, A]
But you can put
translucent
newtypes:I couldn't come up with a modification of the encoding that would solve this. Maybe at least add a row in the comparison table for
Array
s