Index: tests/compiler/dart2js/gvn_dynamic_field_get_test.dart |
diff --git a/tests/compiler/dart2js/gvn_dynamic_field_get_test.dart b/tests/compiler/dart2js/gvn_dynamic_field_get_test.dart |
index b2634394dd2b7104eae5eedf9aa32b9e3cd32188..ae8704255e44f907cc0544e45ca4986cec9071ec 100644 |
--- a/tests/compiler/dart2js/gvn_dynamic_field_get_test.dart |
+++ b/tests/compiler/dart2js/gvn_dynamic_field_get_test.dart |
@@ -27,7 +27,7 @@ main() { |
compiler.runCompiler(uri); |
String generated = compiler.assembledCode; |
RegExp regexp = new RegExp(r"get\$foo"); |
- Iterator matches = regexp.allMatches(generated).iterator(); |
+ Iterator matches = regexp.allMatches(generated).iterator; |
checkNumberOfMatches(matches, 1); |
var cls = findElement(compiler, 'A'); |
Expect.isNotNull(cls); |