Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: test/codegen/try_catch.dart

Issue 1062823004: Fix a couple codegen crashers (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rebase tests Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« lib/src/codegen/js_codegen.dart ('K') | « test/codegen/expect/try_catch.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« lib/src/codegen/js_codegen.dart ('K') | « test/codegen/expect/try_catch.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698