File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/scala/scala/compat/java8 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ trait PrimitiveStreamUnboxer[A, S] {
16
16
17
17
trait Priority5StreamConverters {
18
18
// Note--conversion is only to make sure implicit conversion priority is lower than alternatives.
19
- implicit class EnrichScalaCollectionWithSeqStream [A , CC ](cc : CC )(implicit steppize : CC => MakesAnySeqStepper [A ])
19
+ implicit class EnrichScalaCollectionWithSeqStream [A <: AnyRef , CC ](cc : CC )(implicit steppize : CC => MakesAnySeqStepper [A ])
20
20
extends MakesSequentialStream [A , Stream [A ]] {
21
21
def seqStream : Stream [A ] = StreamSupport .stream(steppize(cc).stepper, false )
22
22
}
@@ -62,7 +62,7 @@ trait Priority4StreamConverters extends Priority5StreamConverters {
62
62
}
63
63
64
64
trait Priority3StreamConverters extends Priority4StreamConverters {
65
- implicit class EnrichAnySteppableWithStream [A , CC ](cc : CC )(implicit steppize : CC => MakesAnyStepper [A ])
65
+ implicit class EnrichAnySteppableWithStream [A <: AnyRef , CC ](cc : CC )(implicit steppize : CC => MakesAnyStepper [A ])
66
66
extends MakesSequentialStream [A , Stream [A ]] with MakesParallelStream [A , Stream [A ]] {
67
67
def seqStream : Stream [A ] = StreamSupport .stream(steppize(cc).stepper, false )
68
68
def parStream : Stream [A ] = StreamSupport .stream(steppize(cc).stepper.anticipateParallelism, true )
You can’t perform that action at this time.
0 commit comments