Index: tests/compiler/dart2js/type_test_helper.dart |
diff --git a/tests/compiler/dart2js/type_test_helper.dart b/tests/compiler/dart2js/type_test_helper.dart |
index 175341f53cee6c0c68bfd453c5c3c22b7d58dd71..8250f02d89eebb34193f4d1ce63bd628bbd09c2e 100644 |
--- a/tests/compiler/dart2js/type_test_helper.dart |
+++ b/tests/compiler/dart2js/type_test_helper.dart |
@@ -93,7 +93,7 @@ class TypeEnvironment { |
Element getElement(String name) { |
LibraryElement mainApp = |
compiler.frontendStrategy.elementEnvironment.mainLibrary; |
- var element = mainApp.find(name); |
+ dynamic element = mainApp.find(name); |
Expect.isNotNull(element); |
if (element.isClass) { |
element.ensureResolved(compiler.resolution); |
@@ -106,7 +106,7 @@ class TypeEnvironment { |
ClassElement getClass(String name) => getElement(name); |
ResolutionDartType getElementType(String name) { |
- var element = getElement(name); |
+ dynamic element = getElement(name); |
return element.computeType(compiler.resolution); |
} |