| Index: test/codegen/expect/try_catch.js
|
| diff --git a/test/codegen/expect/try_catch.js b/test/codegen/expect/try_catch.js
|
| index 167de1ef941b1b90f74beccfa814bdd3ddeaf793..9e499469bebc3a579c4ff4680fd57b98e13a223c 100644
|
| --- a/test/codegen/expect/try_catch.js
|
| +++ b/test/codegen/expect/try_catch.js
|
| @@ -43,7 +43,19 @@ var try_catch;
|
| if (dart.is(e, core.String)) {
|
| let t = dart.stackTrace(e);
|
| throw e;
|
| - }
|
| + } else
|
| + throw e;
|
| + }
|
| +
|
| + }
|
| + // Function wub: () → dynamic
|
| + function wub() {
|
| + try {
|
| + throw "on without exception parameter";
|
| + } catch (e$) {
|
| + if (dart.is(e$, core.String)) {
|
| + } else
|
| + throw e$;
|
| }
|
|
|
| }
|
| @@ -53,11 +65,13 @@ var try_catch;
|
| bar();
|
| baz();
|
| qux();
|
| + wub();
|
| }
|
| // Exports:
|
| exports.foo = foo;
|
| exports.bar = bar;
|
| exports.baz = baz;
|
| exports.qux = qux;
|
| + exports.wub = wub;
|
| exports.main = main;
|
| })(try_catch || (try_catch = {}));
|
|
|