diff --git a/src/tink/io/Source.hx b/src/tink/io/Source.hx index 1cb2d07..86ec43a 100644 --- a/src/tink/io/Source.hx +++ b/src/tink/io/Source.hx @@ -102,7 +102,7 @@ abstract Source(SourceObject) from SourceObject to SourceObject to S return this; static public function concatAll(s:Stream) - return s.reduce(Chunk.EMPTY, function (res:Chunk, cur:Chunk) return Progress(res & cur)); + return s.reduce(Chunk.EMPTY, function (res:Chunk, cur:Chunk) return ReductionStep.Progress(res & cur)); public function pipeTo(target:SinkYielding, ?options):Future> return target.consume(this, options);