| Index: lib/runtime/dart/isolate.js
|
| diff --git a/lib/runtime/dart/isolate.js b/lib/runtime/dart/isolate.js
|
| index 08465c9bdc89d8298fdee6327f05adf043b5c09d..ab9b39a3ae11fd30a781fdbaeed4150974e261fa 100644
|
| --- a/lib/runtime/dart/isolate.js
|
| +++ b/lib/runtime/dart/isolate.js
|
| @@ -155,7 +155,7 @@ var isolate;
|
| Isolate.BEFORE_NEXT_EVENT = 1;
|
| Isolate.AS_EVENT = 2;
|
| dart.defineLazyProperties(Isolate, {
|
| - get _currentIsolateCache() {
|
| + get [_currentIsolateCache]() {
|
| return _isolate_helper.IsolateNatives.currentIsolate;
|
| }
|
| });
|
| @@ -185,7 +185,7 @@ var isolate;
|
| this.stackTrace = stackTrace;
|
| }
|
| toString() {
|
| - return 'IsolateUnhandledException: exception while handling message: ' + `${this.message} \n ` + `${this.source.toString().replaceAll("\n", "\n ")}\n` + 'original stack trace:\n ' + `${this.stackTrace.toString().replaceAll("\n", "\n ")}`;
|
| + return 'IsolateUnhandledException: exception while handling message: ' + `${this.message} \n ` + `${dart.toString(this.source).replaceAll("\n", "\n ")}\n` + 'original stack trace:\n ' + `${dart.toString(this.stackTrace).replaceAll("\n", "\n ")}`;
|
| }
|
| }
|
| _IsolateUnhandledException[dart.implements] = () => [core.Exception];
|
|
|