| Index: tests/language/vm/lazy_deopt_with_exception_and_stacktrace_test.dart
|
| diff --git a/tests/language/vm/lazy_deopt_with_exception_test.dart b/tests/language/vm/lazy_deopt_with_exception_and_stacktrace_test.dart
|
| similarity index 88%
|
| copy from tests/language/vm/lazy_deopt_with_exception_test.dart
|
| copy to tests/language/vm/lazy_deopt_with_exception_and_stacktrace_test.dart
|
| index a4943661bb63d035d61dfd6e7fc267ea1ad46d65..8e94290b69250a373787968b94a3f30f78cceff1 100644
|
| --- a/tests/language/vm/lazy_deopt_with_exception_test.dart
|
| +++ b/tests/language/vm/lazy_deopt_with_exception_and_stacktrace_test.dart
|
| @@ -28,7 +28,9 @@ AA(C c, bool b) {
|
| T1(C c, bool b) {
|
| try {
|
| AA(c, b);
|
| - } on dynamic {
|
| + } on dynamic catch (e, st) {
|
| + print(e);
|
| + print(st);
|
| }
|
| return c.x + 1;
|
| }
|
| @@ -38,12 +40,15 @@ T1(C c, bool b) {
|
| T2(C c, bool b) {
|
| try {
|
| AA(c, b);
|
| - } on String {
|
| + } on String catch(e, st) {
|
| + print(e);
|
| + print(st);
|
| Expect.isTrue(false);
|
| - } on int catch(e) {
|
| + } on int catch(e, st) {
|
| Expect.equals(e, 123);
|
| Expect.equals(b, true);
|
| Expect.equals(c.x, 2.5);
|
| + print(st);
|
| }
|
| return c.x + 1;
|
| }
|
| @@ -60,5 +65,3 @@ main() {
|
| Expect.equals(3.5, T1(c, true));
|
| Expect.equals(3.5, T2(c, true));
|
| }
|
| -
|
| -
|
|
|