File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
library/src/scala/collection/immutable Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1268,11 +1268,11 @@ object LazyListIterable extends IterableFactory[LazyListIterable] {
12681268 if (xss.knownSize == 0 ) empty
12691269 else newLL(eagerHeadConcatIterators(xss.iterator))
12701270
1271- private def eagerHeadConcatIterators [A ](it : Iterator [collection.Iterable [A ]^ ]^ ): LazyListIterable [A ]^ {it* } =
1271+ private def eagerHeadConcatIterators [A ](it : Iterator [collection.Iterable [A ]]^ ): LazyListIterable [A ]^ {it} =
12721272 if ! it.hasNext then Empty
12731273 else
12741274 eagerHeadPrependIterator
1275- (caps.unsafe.unsafeDiscardUses( it.next() ).iterator)
1275+ (it.next().iterator)
12761276 (eagerHeadConcatIterators(it))
12771277
12781278 /** An infinite LazyListIterable that repeatedly applies a given function to a start value.
You can’t perform that action at this time.
0 commit comments