| Index: lib/runtime/dart/isolate.js
|
| diff --git a/lib/runtime/dart/isolate.js b/lib/runtime/dart/isolate.js
|
| index 6f51bdfcb52d826fad4483125b9e021645845bf6..a80de6f30d3f85140ea37a44d0b425687e0718bb 100644
|
| --- a/lib/runtime/dart/isolate.js
|
| +++ b/lib/runtime/dart/isolate.js
|
| @@ -132,12 +132,12 @@ var async = dart.import(async);
|
| let controller = null;
|
| let port = null;
|
| // Function handleError: (dynamic) → void
|
| - function handleError(message) {
|
| + let handleError = message => {
|
| let errorDescription = dart.as(dart.dindex(message, 0), core.String);
|
| let stackDescription = dart.as(dart.dindex(message, 1), core.String);
|
| let error = new RemoteError(errorDescription, stackDescription);
|
| controller.addError(error, error.stackTrace);
|
| - }
|
| + };
|
| controller = new async.StreamController.broadcast({
|
| sync: true,
|
| onListen: (() => {
|
|
|