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 25af24aa7c79548429ce8afab39b30900e9d2309..d7c0becff2718b06fd94a7629d001fc3650d059e 100644 |
--- a/tests/compiler/dart2js/gvn_dynamic_field_get_test.dart |
+++ b/tests/compiler/dart2js/gvn_dynamic_field_get_test.dart |
@@ -25,13 +25,13 @@ main() { |
main() { |
Uri uri = new Uri(scheme: 'source'); |
- var compiler = compilerFor(TEST, uri); |
+ dynamic compiler = compilerFor(TEST, uri); |
asyncTest(() => compiler.run(uri).then((_) { |
String generated = compiler.assembledCode; |
RegExp regexp = new RegExp(r"get\$foo"); |
Iterator matches = regexp.allMatches(generated).iterator; |
checkNumberOfMatches(matches, 1); |
- var cls = findElement(compiler, 'A'); |
+ dynamic cls = findElement(compiler, 'A'); |
Expect.isNotNull(cls); |
String name = 'foo'; |
var element = cls.lookupLocalMember(name); |