Index: lib/compiler/implementation/dart2js.dart |
diff --git a/lib/compiler/implementation/dart2js.dart b/lib/compiler/implementation/dart2js.dart |
index f94c219a878aab8700b11963ad520774b542b254..eafb1e6a914f8e9d08c9f45dd3814d44ac6bb9c6 100644 |
--- a/lib/compiler/implementation/dart2js.dart |
+++ b/lib/compiler/implementation/dart2js.dart |
@@ -54,7 +54,7 @@ void parseCommandLine(List<OptionHandler> handlers, List<String> argv) { |
var pattern = new RegExp('^(${Strings.join(patterns, ")\$|(")})\$'); |
OUTER: for (String argument in argv) { |
Match match = pattern.firstMatch(argument); |
- assert(match.groupCount() == handlers.length); |
+ assert(match.groupCount == handlers.length); |
for (int i = 0; i < handlers.length; i++) { |
if (match[i + 1] != null) { |
handlers[i].handle(argument); |