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
Behaviour : no instances is searched after (because in DeriveUtilsImpl.instanceInitializer, instance resolution is conditioned by the arg. type being a DeclaredType, which ArrayType are not) ; consequently, uncompilable code gets generated
Current workaround : use a collection type for which instances can be resolved.
The text was updated successfully, but these errors were encountered:
gneuvill
changed the title
Type classes derivation : varargs are problematic
Type classes derivation : arrays (or varargs) are problematic
Mar 12, 2018
Ex:
Behaviour : no instances is searched after (because in
DeriveUtilsImpl.instanceInitializer
, instance resolution is conditioned by the arg. type being aDeclaredType
, whichArrayType
are not) ; consequently, uncompilable code gets generatedCurrent workaround : use a collection type for which instances can be resolved.
@jbgi Is this worth fixing ?
The text was updated successfully, but these errors were encountered: