| Index: lib/runtime/dart/isolate.js
|
| diff --git a/lib/runtime/dart/isolate.js b/lib/runtime/dart/isolate.js
|
| index 2f176816c61ea377d212797f8e15d41cf6cc39fa..8eadbb8d7300c9d3e505f635f875cd032cd5a967 100644
|
| --- a/lib/runtime/dart/isolate.js
|
| +++ b/lib/runtime/dart/isolate.js
|
| @@ -140,12 +140,12 @@ dart_library.library('dart/isolate', null, /* Imports */[
|
| get errors() {
|
| let controller = null;
|
| let port = null;
|
| - let handleError = message => {
|
| + function 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);
|
| - };
|
| + }
|
| dart.fn(handleError, dart.void, [dart.dynamic]);
|
| controller = async.StreamController.broadcast({sync: true, onListen: dart.fn(() => {
|
| port = RawReceivePort.new(handleError);
|
|
|