| Index: pkg/intl/lib/src/date_format_field.dart
|
| diff --git a/pkg/intl/lib/src/date_format_field.dart b/pkg/intl/lib/src/date_format_field.dart
|
| index 364d141cc2b4cff6e1f6f5dcc16ce165db1ce25a..93e7e42816aab14b986c87c660de3b6bdb9bf652 100644
|
| --- a/pkg/intl/lib/src/date_format_field.dart
|
| +++ b/pkg/intl/lib/src/date_format_field.dart
|
| @@ -219,7 +219,7 @@ class _DateFormatPatternField extends _DateFormatField {
|
| int parseEnumeratedString(_Stream input, List possibilities) {
|
| var results = new _Stream(possibilities).findIndexes(
|
| (each) => input.peek(each.length) == each);
|
| - if (results.isEmpty()) throwFormatException(input);
|
| + if (results.isEmpty) throwFormatException(input);
|
| results.sort(
|
| (a, b) => possibilities[a].length.compareTo(possibilities[b].length));
|
| var longestResult = results.last();
|
|
|