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

Unified Diff: tools/testing/dart/test_options.dart

Issue 10887023: Use new try-catch syntax in runtime/, tools/, and utils/. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 | « runtime/tests/vm/dart/isolate_mirror_remote_test.dart ('k') | utils/apidoc/mdn/extract.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_options.dart
diff --git a/tools/testing/dart/test_options.dart b/tools/testing/dart/test_options.dart
index 72c0a1e6256f1d479f44ddfc94a8fec06cb0ffce..f483cf3137691071b29b27588b97189a281f2308 100644
--- a/tools/testing/dart/test_options.dart
+++ b/tools/testing/dart/test_options.dart
@@ -346,7 +346,7 @@ Note: currently only implemented for dart2js.''',
} else if (spec.type == 'int') {
try {
configuration[spec.name] = parseInt(value);
- } catch (var e) {
+ } catch (e) {
print('Integer value expected for int option $name');
exit(1);
}
« no previous file with comments | « runtime/tests/vm/dart/isolate_mirror_remote_test.dart ('k') | utils/apidoc/mdn/extract.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698