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

Unified Diff: pkg/intl/lib/date_format_field.dart

Issue 10917006: More uses of the new try-catch syntax. (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 | « pkg/fixnum/test/int_64_vm_test.dart ('k') | pkg/unittest/core_matchers.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/lib/date_format_field.dart
diff --git a/pkg/intl/lib/date_format_field.dart b/pkg/intl/lib/date_format_field.dart
index 01ec5a0910c46f74bd3c5e6a0ec814b920945aa7..42401443e552f02b320b72cdcf48466430ba8474 100644
--- a/pkg/intl/lib/date_format_field.dart
+++ b/pkg/intl/lib/date_format_field.dart
@@ -145,7 +145,7 @@ class _DateFormatPatternField extends _DateFormatField {
case 'Z': break; // time zone RFC
default: return;
}
- } catch (var e) { throwFormatException(input); }
+ } catch (e) { throwFormatException(input); }
}
/** Formatting logic if we are of type FIELD */
« no previous file with comments | « pkg/fixnum/test/int_64_vm_test.dart ('k') | pkg/unittest/core_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698