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

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

Issue 10829442: Rename i18n to intl (Closed) Base URL: http://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
Index: pkg/intl/lib/date_format_field.dart
===================================================================
--- pkg/intl/lib/date_format_field.dart (revision 10991)
+++ pkg/intl/lib/date_format_field.dart (working copy)
@@ -203,6 +203,7 @@
*/
void handleNumericField(_Stream input, Function setter, [int offset = 0]) {
var result = input.nextInteger();
+ if (result == null) throwFormatException(input);
setter(result + offset);
}

Powered by Google App Engine
This is Rietveld 408576698