| Index: lib/runtime/dart/_js_helper.js
|
| diff --git a/lib/runtime/dart/_js_helper.js b/lib/runtime/dart/_js_helper.js
|
| index e106c261f595c37d6dd0fb73fc6cfbd3931d9040..d1b98c1ceacf3b19260b01336c41490486f113fa 100644
|
| --- a/lib/runtime/dart/_js_helper.js
|
| +++ b/lib/runtime/dart/_js_helper.js
|
| @@ -2466,7 +2466,7 @@ var _isolate_helper = dart.lazyImport(_isolate_helper);
|
| // Function unwrapException: (dynamic) → dynamic
|
| function unwrapException(ex) {
|
| // Function saveStackTrace: (dynamic) → dynamic
|
| - function saveStackTrace(error) {
|
| + let saveStackTrace = error => {
|
| if (dart.is(error, core.Error)) {
|
| let thrownStackTrace = error.$thrownJsError;
|
| if (thrownStackTrace == null) {
|
| @@ -2474,7 +2474,7 @@ var _isolate_helper = dart.lazyImport(_isolate_helper);
|
| }
|
| }
|
| return error;
|
| - }
|
| + };
|
| if (ex == null)
|
| return null;
|
| if (typeof ex !== "object")
|
|
|