Index: tests/compiler/dart2js/simple_inferrer_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_test.dart b/tests/compiler/dart2js/simple_inferrer_test.dart |
index 4731499e4bbebec2e00a3eaf82a137be7d0ed73f..90344184a8f53708555ec7711255baa8bbf02128 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_test.dart |
@@ -829,7 +829,7 @@ void main() { |
checkReturn('testDoWhile4', commonMasks.numType); |
checkReturnInClass(String className, String methodName, type) { |
- var cls = findElement(compiler, className); |
+ dynamic cls = findElement(compiler, className); |
var element = cls.lookupLocalMember(methodName); |
Expect.equals( |
type, |
@@ -864,7 +864,7 @@ void main() { |
checkReturnInClass('C', 'returnInt6', commonMasks.positiveIntType); |
checkFactoryConstructor(String className, String factoryName) { |
- var cls = findElement(compiler, className); |
+ dynamic cls = findElement(compiler, className); |
var element = cls.localLookup(factoryName); |
Expect.equals(new TypeMask.nonNullExact(cls, closedWorld), |
typesInferrer.getReturnTypeOfElement(element)); |