Closed
Description
./scala-scala/src/library/scala/collection/Searching.scala:58: error: none of the overloaded alternatives of method view in trait SeqLike with types
(from: Int, until: Int)scala.collection.TraversableView[A, Repr]
=> scala.collection.TraversableView[A, Repr]
match expected type scala.collection.SeqView[A, Repr]
case _ => linearSearch(coll.view, elem, 0)(ord)
^
./scala-scala/src/library/scala/collection/Searching.scala:85: error: method view in trait SeqLike does not take parameters
case _ => linearSearch(coll.view(from, to), elem, from)(ord)
^
Metadata
Metadata
Assignees
Labels
No labels