argonaut-io/argonaut — pull request #142 by alexarchambault (2014-10-25 01:10:49+00:00)
Title: Enabled sum-types tests

Contrary to appearances, auto codec derivation seems to work for sum types.

But to make the tests work, I had to move the definitions of the sum type outside the test object. This may be loosely related to [this issue](https://github.com/milessabin/shapeless/issues/212).

Another possible workaround would be to disable auto codec derivation, by deriving shapeless' `LabelledProductTypeClass` instead of `LabelledTypeClass`. And because of [this other possible issue](https://github.com/milessabin/shapeless/issues/257), this would solve the second point of https://github.com/argonaut-io/argonaut/issues/129 at the same time.