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

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: Address comments 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
« no previous file with comments | « 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..6139938cb0bb245eecdfde44c7bd6ef2cfc761be 100644
--- a/test/codegen/try_catch.dart
+++ b/test/codegen/try_catch.dart
@@ -38,9 +38,17 @@ qux() {
}
}
+wub() {
+ try {
+ throw "on without exception parameter";
+ } on String {
+ }
+}
+
main() {
foo();
bar();
baz();
qux();
+ wub();
}
« no previous file with comments | « test/codegen/expect/try_catch.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698