Index: lib/runtime/dart/async.js |
diff --git a/lib/runtime/dart/async.js b/lib/runtime/dart/async.js |
index f9f63adb1527ce1a4dec7962a3a72bf41bb64caa..b12f2e08bc9b54dc0102caf9127290d1a28395f0 100644 |
--- a/lib/runtime/dart/async.js |
+++ b/lib/runtime/dart/async.js |
@@ -1893,7 +1893,7 @@ dart_library.library('dart/async', null, /* Imports */[ |
return Future$().doWhile(dart.fn(() => { |
if (!dart.notNull(iterator.moveNext())) return false; |
return Future$().sync(dart.fn(() => dart.dcall(f, iterator.current))).then(dart.fn(_ => true, core.bool, [dart.dynamic])); |
- })); |
+ }, core.Object, [])); |
} |
static doWhile(f) { |
let doneSignal = new _Future(); |