| Index: lib/runtime/dart/async.js
|
| diff --git a/lib/runtime/dart/async.js b/lib/runtime/dart/async.js
|
| index c362e82ba403e245b33eb70885922846e7c08fd2..15bf2596ad81c5f980b3efee9a4c7268351f6e0c 100644
|
| --- a/lib/runtime/dart/async.js
|
| +++ b/lib/runtime/dart/async.js
|
| @@ -444,7 +444,7 @@ var async;
|
| return future;
|
| }
|
| toList() {
|
| - let result = new core.List$(T).from([]);
|
| + let result = dart.setType([], core.List$(T));
|
| let future = new (_Future$(core.List$(T)))();
|
| this.listen(data => {
|
| result[core.$add](data);
|
| @@ -1803,7 +1803,7 @@ var async;
|
| }, {onError: handleError});
|
| }
|
| if (remaining == 0) {
|
| - return new Future$(core.List).value(/* Unimplemented const */new core.List.from([]));
|
| + return new Future$(core.List).value(/* Unimplemented const */[]);
|
| }
|
| values = new core.List(remaining);
|
| return result;
|
|
|