Skip to content

Commit 7bb1f21

Browse files
committed
IteratorTest mustn't use iterator after terminal op
1 parent 93528af commit 7bb1f21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/collection/immutable/Range.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,6 @@ private class RangeIterator(
667667
_hasNext = longPos >= lastElement
668668
}
669669
}
670-
this
670+
this
671671
}
672672
}

0 commit comments

Comments
 (0)