#19440 Added scala-java8-compat as a dependency to streams

This commit is contained in:
Endre Sándor Varga 2016-01-14 11:25:56 +01:00
parent e92429dab9
commit b217e2e480
3 changed files with 8 additions and 4 deletions

View file

@ -239,7 +239,7 @@ object Source {
*/
def repeat[T](element: T): Source[T, Unit] = {
val next = Some((element, element))
unfold(element)(_ => next).withAttributes(DefaultAttributes.repeat)
unfold(element)(_ next).withAttributes(DefaultAttributes.repeat)
}
/**