Index: tests/compiler/dart2js/field_type_simple_inferer_test.dart |
diff --git a/tests/compiler/dart2js/field_type_simple_inferer_test.dart b/tests/compiler/dart2js/field_type_simple_inferer_test.dart |
index d81aa1fd24896da7019202ac8bbca530c3f396e3..8040ed1e2223253d8e03a90610720e229ccb1442 100644 |
--- a/tests/compiler/dart2js/field_type_simple_inferer_test.dart |
+++ b/tests/compiler/dart2js/field_type_simple_inferer_test.dart |
@@ -15,7 +15,7 @@ void compileAndFind(String code, String className, String memberName, |
Uri uri = new Uri(scheme: 'source'); |
var compiler = compilerFor(code, uri, disableInlining: disableInlining); |
asyncTest(() => compiler.run(uri).then((_) { |
- var cls = findElement(compiler, className); |
+ dynamic cls = findElement(compiler, className); |
var member = cls.lookupMember(memberName); |
check(compiler, member); |
})); |