Skip to content

scala/collection/SeqLike.scala breaks compilation of scala/collection/Searching.scala #945

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DarkDimius opened this issue Nov 10, 2015 · 1 comment

Comments

@DarkDimius
Copy link
Contributor

./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)
                                    ^
@odersky
Copy link
Contributor

odersky commented Nov 17, 2015

Fixed by updating SeqLike.scala

@odersky odersky closed this as completed Nov 17, 2015
odersky added a commit to dotty-staging/dotty that referenced this issue Nov 17, 2015
This witnesses that scala#945 is fixed (by pushing a fix to the
Scala file to dotty-library).
OlivierBlanvillain pushed a commit to OlivierBlanvillain/dotty that referenced this issue Dec 8, 2016
OlivierBlanvillain pushed a commit to OlivierBlanvillain/dotty that referenced this issue Dec 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants