Index: tests/compiler/dart2js/type_checker_test.dart |
diff --git a/tests/compiler/dart2js/type_checker_test.dart b/tests/compiler/dart2js/type_checker_test.dart |
index 0dd4f1e012be36738b62d4ce0d6b2ee6bec5387e..31887b1701f4b65834eb503efb34313cefa89e63 100644 |
--- a/tests/compiler/dart2js/type_checker_test.dart |
+++ b/tests/compiler/dart2js/type_checker_test.dart |
@@ -424,7 +424,7 @@ analyzeTopLevel(String text, [expectedWarnings]) { |
Link<Element> topLevelElements = parseUnit(text, compiler, library); |
for (Link<Element> elements = topLevelElements; |
- !elements.isEmpty(); |
+ !elements.isEmpty; |
elements = elements.tail) { |
Node node = elements.head.parseNode(compiler); |
TreeElements mapping = compiler.resolver.resolve(elements.head); |