From 427a3eb18c681abcfce07e862ae0a7e9d2b13015 Mon Sep 17 00:00:00 2001 From: "nweiz@google.com" <nweiz@google.com> Date: Wed, 30 Jan 2013 01:54:52 +0000 Subject: [PATCH] Fix a use of a StreamController as a Stream. TBR Review URL: https://codereview.chromium.org//12086055 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@17822 260f80e4-7a28-3924-810f-c04153c831b5 --- lib/src/io.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/io.dart b/lib/src/io.dart index c26f4dcf..60876c8f 100644 --- a/lib/src/io.dart +++ b/lib/src/io.dart @@ -911,7 +911,7 @@ ByteStream createTarGz(List contents, {baseDir}) { controller.signalError(e.error, e.stackTrace); controller.close(); }); - return new ByteStream(controller); + return new ByteStream(controller.stream); } /// Exception thrown when an operation times out. -- GitLab