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

Unified Diff: tests/language/syntax_test.dart

Issue 10891020: Update almost all tests (except co19) to use the new try-catch syntax. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge. Created 8 years, 4 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 | « tests/language/switch_fallthru_test.dart ('k') | tests/language/throw1_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/syntax_test.dart
diff --git a/tests/language/syntax_test.dart b/tests/language/syntax_test.dart
index 4c874ec2eff59ae94d293db0a7c27fa138d9c14d..b94a8effd801518bb6ddbe51a345dd2e4fcc140e 100644
--- a/tests/language/syntax_test.dart
+++ b/tests/language/syntax_test.dart
@@ -233,7 +233,7 @@ main() {
new Bad();
- } catch (var ex) {
+ } catch (ex) {
// Swallowing exceptions. Any error should be a compile-time error
// which kills the current isolate.
}
« no previous file with comments | « tests/language/switch_fallthru_test.dart ('k') | tests/language/throw1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698