diff options
Diffstat (limited to 'tests/pos')
-rw-r--r-- | tests/pos/GenTraversableFactory.scala | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/pos/GenTraversableFactory.scala b/tests/pos/GenTraversableFactory.scala index e5cba4501..2f93ab27b 100644 --- a/tests/pos/GenTraversableFactory.scala +++ b/tests/pos/GenTraversableFactory.scala @@ -219,14 +219,10 @@ extends GenericCompanion[CC] { val b = newBuilder[T] b sizeHint immutable.NumericRange.count(start, end, step, isInclusive = false) var i = start - - { - val ord: Ordering[T] = num - implicit val ops: T => ord.Ops = ord.mkOrderingOps - while (if (step < zero) end < i else i < end) { + while (if (/*num.mkOrderingOps*/(step) < zero) end < i else i < end) { b += i i += step - }} + } b.result() } |