Skip to content

Commit

Permalink
typelevel#804 - encoding for Set derivatives as well - test build, ha…
Browse files Browse the repository at this point in the history
…shtrieset no longer there on 2.13
  • Loading branch information
chris-twiner committed Mar 20, 2024
1 parent 0435c3a commit 52034b2
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions dataset/src/main/scala/frameless/TypedEncoder.scala
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ object TypedEncoder {
/**
* Per #804 - when MapObjects is used in interpreted mode the type returned is Seq, not the derived type used in compilation
*
* This type class offers extensible conversion for more specific types. By default Seq, List and Vector for Seq's and Set, TreeSet and HashTrieSet are supported.
* This type class offers extensible conversion for more specific types. By default Seq, List and Vector for Seq's and Set, TreeSet and ListSet are supported.
*
* @tparam C
*/
Expand Down Expand Up @@ -553,13 +553,6 @@ object TypedEncoder {
) = new CollectionConversion[Set, ListSet, Y] {
override def convert(c: Set[Y]): ListSet[Y] = c.to[ListSet]
}

implicit def setToTrieSet[Y](
implicit
cbf: CanBuildFrom[Nothing, Y, HashTrieSet[Y]]
) = new CollectionConversion[Set, HashTrieSet, Y] {
override def convert(c: Set[Y]): HashTrieSet[Y] = c.to[HashTrieSet]
}
}

implicit def seqEncoder[C[X] <: Seq[X], T](
Expand Down

0 comments on commit 52034b2

Please sign in to comment.