Skip to content
Permalink
Browse files

Fix names for EnumerationCodec instances

  • Loading branch information...
travisbrown committed Aug 13, 2019
1 parent c39c10f commit b7f5302208ac687273cc8ce6f684ef25cde0c81c
@@ -13,7 +13,7 @@ object EnumerationCodec {
def apply(a: CNil): Json = sys.error("Cannot encode CNil")
}

implicit def decodeEnumerationCCons[K <: Symbol, V, R <: Coproduct](
implicit def codecForEnumerationCCons[K <: Symbol, V, R <: Coproduct](
implicit
witK: Witness.Aux[K],
gen: LabelledGeneric.Aux[V, HNil],
@@ -37,7 +37,7 @@ object EnumerationCodec {
}
}

implicit def decodeEnumeration[A, R <: Coproduct](
implicit def codecForEnumeration[A, R <: Coproduct](
implicit
gen: LabelledGeneric.Aux[A, R],
codecForR: EnumerationCodec[R]

0 comments on commit b7f5302

Please sign in to comment.
You can’t perform that action at this time.