| Index: runtime/lib/core_patch.dart
|
| diff --git a/runtime/lib/core_patch.dart b/runtime/lib/core_patch.dart
|
| index c8242170f55e0a898d0652b6e3b1e66c1f843b34..71d59b3b55856c0954a0126065952fb3ff52ae63 100644
|
| --- a/runtime/lib/core_patch.dart
|
| +++ b/runtime/lib/core_patch.dart
|
| @@ -5,10 +5,10 @@
|
| import "dart:math";
|
| import "dart:typed_data";
|
|
|
| -// We need to pass the exception object as second parameter to the continuation.
|
| -// See vm/ast_transformer.cc for usage.
|
| +// We need to pass the exception and stack trace objects as second and third
|
| +// parameter to the continuation. See vm/ast_transformer.cc for usage.
|
| void _asyncCatchHelper(catchFunction, continuation) {
|
| - catchFunction((e) => continuation(null, e));
|
| + catchFunction((e, s) => continuation(null, e, s));
|
| }
|
|
|
| // The members of this class are cloned and added to each class that
|
|
|