Last active
August 28, 2017 11:18
-
-
Save fommil/72422bfe3a4df0f428aa817d7ad3169a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[info] java.lang.NoSuchMethodError: xmlformat.examples.Optimal$: method <init>()V not found | |
[info] at xmlformat.examples.Optimal$.<clinit>(examples.scala) | |
[info] at xmlformat.EncoderTests.$anonfun$new$16(EncoderTests.scala:113) | |
[info] at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85) | |
ModuleDef(Modifiers(), TermName("Optimal"), Template(List(), noSelfType, List(ValDef(Modifiers(IMPLICIT), TermName("xmlformat$u002EEncoder"), AppliedTypeTree(Select(Ident(xmlformat), TypeName("Encoder")), List(Ident(TypeName("Optimal")))), Apply(Select(TypeApply(Select(Select(Select(Ident(termNames.ROOTPKG), TermName("scala")), TermName("Predef")), TermName("implicitly")), List(AppliedTypeTree(Select(Ident(xmlformat), TypeName("Encoder")), List(Ident(TypeName("String")))))), TermName("xmap")), List(Function(List(ValDef(Modifiers(PARAM | SYNTHETIC), TermName("x"), TypeTree(), EmptyTree)), Apply(Select(New(Ident(TypeName("Optimal"))), termNames.CONSTRUCTOR), List(Ident(TermName("x"))))), Function(List(ValDef(Modifiers(PARAM | SYNTHETIC), TermName("x"), TypeTree(), EmptyTree)), Select(Ident(TermName("x")), TermName("thing")))))), ValDef(Modifiers(IMPLICIT), TermName("xmlformat$u002EDecoder"), AppliedTypeTree(Select(Ident(xmlformat), TypeName("Decoder")), List(Ident(TypeName("Optimal")))), Apply(Select(TypeApply(Select(Select(Select(Ident(termNames.ROOTPKG), TermName("scala")), TermName("Predef")), TermName("implicitly")), List(AppliedTypeTree(Select(Ident(xmlformat), TypeName("Decoder")), List(Ident(TypeName("String")))))), TermName("xmap")), List(Function(List(ValDef(Modifiers(PARAM | SYNTHETIC), TermName("x"), TypeTree(), EmptyTree)), Apply(Select(New(Ident(TypeName("Optimal"))), termNames.CONSTRUCTOR), List(Ident(TermName("x"))))), Function(List(ValDef(Modifiers(PARAM | SYNTHETIC), TermName("x"), TypeTree(), EmptyTree)), Select(Ident(TermName("x")), TermName("thing"))))))))) | |
and same for Foo | |
ModuleDef(Modifiers(), TermName("Foo"), Template(List(), noSelfType, List(ValDef(Modifiers(IMPLICIT), TermName("xmlformat$u002EEncoder"), AppliedTypeTree(Select(Ident(xmlformat), TypeName("Encoder")), List(Ident(TypeName("Foo")))), Select(Select(Ident(xmlformat), TermName("DerivedEncoder")), TermName("gen"))), ValDef(Modifiers(IMPLICIT), TermName("xmlformat$u002EDecoder"), AppliedTypeTree(Select(Ident(xmlformat), TypeName("Decoder")), List(Ident(TypeName("Foo")))), Select(Select(Ident(xmlformat), TermName("DerivedDecoder")), TermName("gen")))))) | |
generated for | |
@deriving(Encoder, Decoder) final case class Foo(s: String) extends SimpleTrait |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment