-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
/scala-scala/src/library/scala/collection/IndexedSeqOptimized.scala:58: error: Cannot rewrite recursive call: it changes type of 'this' on a polymorphic recursive call
if (start == end) z
^
./scala-scala/src/library/scala/collection/IndexedSeqOptimized.scala:57: error: TailRec optimisation not applicable, method not tail recursive
private def foldl[B](start: Int, end: Int, z: B, op: (B, A) => B): B =
^
./scala-scala/src/library/scala/collection/IndexedSeqOptimized.scala:63: error: Cannot rewrite recursive call: it changes type of 'this' on a polymorphic recursive call
if (start == end) z
^
./scala-scala/src/library/scala/collection/IndexedSeqOptimized.scala:62: error: TailRec optimisation not applicable, method not tail recursive
private def foldr[B](start: Int, end: Int, z: B, op: (A, B) => B): B =
^
Metadata
Metadata
Assignees
Labels
No labels