atais / Fixed-Length

Scala library for parsing fixed length file format
MIT License
13 stars 12 forks source link

Multiple types with implicits cause "diverging implicit expansion" #2

Closed atais closed 7 years ago

atais commented 7 years ago

Exact error message

Error:(55, 30) diverging implicit expansion for type com.github.atais.fixedlength.Decoder[MultipleCodecTest.this.Example1]
starting with method HListToA in object Decoder
      Parser.decode[Example1](ex1S).right.get shouldEqual ex1
atais commented 7 years ago

Described with

https://github.com/atais/Fixed-Length/blob/issue-%232/src/test/scala/com/github/atais/fixedlength/MultipleCodecTest.scala