Index: pkg/intl/lib/date_format.dart |
diff --git a/pkg/intl/lib/date_format.dart b/pkg/intl/lib/date_format.dart |
index d172c859c2523ea84729bd72648f8babb6035de0..5f935538b719f255e3fbd34cee5650817722789f 100644 |
--- a/pkg/intl/lib/date_format.dart |
+++ b/pkg/intl/lib/date_format.dart |
@@ -533,7 +533,7 @@ class DateFormat { |
/** Recursive helper for parsing the template pattern. */ |
List _parsePatternHelper(String pattern) { |
- if (pattern.isEmpty()) return []; |
+ if (pattern.isEmpty) return []; |
var matched = _match(pattern); |
if (matched == null) return []; |