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
{{ message }}
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.
Thanks, I'll look into it. Although these errors are very hard to debug and fix in Scala, unfortunately - lots of macro and implicit machinery are deeply magical and can refuse to work for no apparent reason whatsoever.
As a workaround, you can try adding explicit instantiations of Reader/Writer, like this:
objectCustomPicklerextendsJsonPickler {
// write here readwriters for other custom types which Ingredient depends onimplicitvalingredientReadWriter=ReadWriter[Ingredient]
implicitvalrecipeReadWriter=ReadWriter[Recipe]
}
CustomPickler.writeString(baseRecipe)
It may work but it may just as well not. Could you also please give the definition of Ingredient and other custom case classes which are transitively used by it?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Following code results in lockup when compiling (phase typer):
The text was updated successfully, but these errors were encountered: