Index: tests/compiler/dart2js/type_checker_test.dart |
diff --git a/tests/compiler/dart2js/type_checker_test.dart b/tests/compiler/dart2js/type_checker_test.dart |
index 8ef5f3745accac23e69e22d693c325d72897c047..0a3ec867739d6abf85f2ef7b6f866e1f96568a9d 100644 |
--- a/tests/compiler/dart2js/type_checker_test.dart |
+++ b/tests/compiler/dart2js/type_checker_test.dart |
@@ -75,10 +75,10 @@ testSimpleTypes(MockCompiler compiler) { |
Expect.equals(type, analyzeType(compiler, code)); |
} |
- checkType(compiler.commonElements.intType, "3"); |
- checkType(compiler.commonElements.boolType, "false"); |
- checkType(compiler.commonElements.boolType, "true"); |
- checkType(compiler.commonElements.stringType, "'hestfisk'"); |
+ checkType(compiler.resolution.commonElements.intType, "3"); |
+ checkType(compiler.resolution.commonElements.boolType, "false"); |
+ checkType(compiler.resolution.commonElements.boolType, "true"); |
+ checkType(compiler.resolution.commonElements.stringType, "'hestfisk'"); |
} |
Future testReturn(MockCompiler compiler) { |