Chromium Code Reviews| Index: test/codegen/try_catch.dart |
| diff --git a/test/codegen/try_catch.dart b/test/codegen/try_catch.dart |
| index e124d2263fb11ac10d1c2f04cc445438ed08f7a3..0153e447e0e1addda0d6bb6e9670a942e137c720 100644 |
| --- a/test/codegen/try_catch.dart |
| +++ b/test/codegen/try_catch.dart |
| @@ -38,9 +38,17 @@ qux() { |
| } |
| } |
| +wub() { |
| + try { |
| + throw "on without type"; |
|
Jennifer Messerly
2015/04/10 20:32:33
"on without exception parameter" ?
vsm
2015/04/10 20:41:35
Done.
|
| + } on String { |
| + } |
| +} |
| + |
| main() { |
| foo(); |
| bar(); |
| baz(); |
| qux(); |
| + wub(); |
| } |