diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/collection/generic/TraversableViewTemplate.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/generic/TraversableViewTemplate.scala b/src/library/scala/collection/generic/TraversableViewTemplate.scala index 84d5b9d0b3..ec18eca433 100644 --- a/src/library/scala/collection/generic/TraversableViewTemplate.scala +++ b/src/library/scala/collection/generic/TraversableViewTemplate.scala @@ -67,7 +67,7 @@ self => } override def stringPrefix = self.stringPrefix+"S" override def slice(from1: Int, until1: Int): This = - newSliced(from + (from1 max 0), from + (until1 max 0)).asInstanceOf[This] + newSliced(from1 max 0, until1 max 0).asInstanceOf[This] } trait Mapped[B] extends Transformed[B] { |