Index: lib/runtime/dart/convert.js |
diff --git a/lib/runtime/dart/convert.js b/lib/runtime/dart/convert.js |
index d2e5806a5a958352d59315afe6fe3d06b85b5e8c..c4114684cfc2f9124f1218662e3f941fa8f0343a 100644 |
--- a/lib/runtime/dart/convert.js |
+++ b/lib/runtime/dart/convert.js |
@@ -49,7 +49,7 @@ dart_library.library('dart/convert', null, /* Imports */[ |
return byteStream.transform(this.decoder).fold(new core.StringBuffer(), dart.fn((buffer, string) => ((() => { |
dart.dsend(buffer, 'write', string); |
return buffer; |
- })()))).then(dart.fn(buffer => dart.toString(buffer), core.String, [dart.dynamic])); |
+ })()), dart.dynamic, [dart.dynamic, core.String])).then(dart.fn(buffer => dart.toString(buffer), core.String, [dart.dynamic])); |
} |
static getByName(name) { |
if (name == null) return null; |