Chromium Code Reviews| Index: lib/runtime/dart/async.js |
| diff --git a/lib/runtime/dart/async.js b/lib/runtime/dart/async.js |
| index 45974063fdb3476eddafb39bd4cd4ce9a132fdbd..ae40b0fea527b5e00e44b359a610837e4482223f 100644 |
| --- a/lib/runtime/dart/async.js |
| +++ b/lib/runtime/dart/async.js |
| @@ -24,7 +24,7 @@ var async; |
| this.stackTrace = stackTrace; |
| } |
| toString() { |
| - return dart.as(dart.dinvoke(this.error, 'toString'), core.String); |
| + return this.error.toString(); |
| } |
| } |
| AsyncError[dart.implements] = () => [core.Error]; |