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 54c718af15f6a26d31e649c1e754eda52d00dae6..9f0d4984b9af96ae2d9e1dfeb5ec2855d89905df 100644 |
--- a/tests/compiler/dart2js/field_type_simple_inferer_test.dart |
+++ b/tests/compiler/dart2js/field_type_simple_inferer_test.dart |
@@ -10,6 +10,7 @@ import '../../../sdk/lib/_internal/compiler/implementation/types/types.dart' |
import 'compiler_helper.dart'; |
import 'parser_helper.dart'; |
+import 'type_mask_test_helper.dart'; |
void compileAndFind(String code, |
String className, |
@@ -487,7 +488,7 @@ void doTest(String test, bool disableInlining, Map<String, Function> fields) { |
TypeMask type = f(compiler.typesTask); |
var inferrer = compiler.typesTask.typesInferrer; |
TypeMask inferredType = |
- inferrer.getTypeOfElement(field).simplify(inferrer.compiler); |
+ simplify(inferrer.getTypeOfElement(field), inferrer.compiler); |
Expect.equals(type, inferredType, test); |
}); |
}); |