Skip to content

Commit 81bb6c0

Browse files
committed
Refer to collection.Seq instead of GenSeq in Eql.scala.
`GenSeq` is a deprecated type alias to `Seq` in Scala 2.13.
1 parent 761f2a2 commit 81bb6c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/src/scala/Eql.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package scala
22

33
import annotation.implicitNotFound
4-
import scala.collection.{GenSeq, Set}
4+
import scala.collection.{Seq, Set}
55

66
/** A marker trait indicating that values of type `L` can be compared to values of type `R`. */
77
@implicitNotFound("Values of types ${L} and ${R} cannot be compared with == or !=")
@@ -29,7 +29,7 @@ object Eql {
2929
// The next three definitions can go into the companion objects of classes
3030
// Seq, Set, and Proxy. For now they are here in order not to have to touch the
3131
// source code of these classes
32-
given eqlSeq[T, U](using eq: Eql[T, U]) as Eql[GenSeq[T], GenSeq[U]] = derived
32+
given eqlSeq[T, U](using eq: Eql[T, U]) as Eql[Seq[T], Seq[U]] = derived
3333
given eqlSet[T, U](using eq: Eql[T, U]) as Eql[Set[T], Set[U]] = derived
3434

3535
// true asymmetry, modeling the (somewhat problematic) nature of equals on Proxies

0 commit comments

Comments
 (0)