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 224b56a43ae05a4557248a78eb5857c3040b93dc..ff7638d9326338705c49a5573ca8c06b6d0dfbf7 100644 |
--- a/tests/compiler/dart2js/type_checker_test.dart |
+++ b/tests/compiler/dart2js/type_checker_test.dart |
@@ -76,11 +76,10 @@ testSimpleTypes(MockCompiler compiler) { |
Expect.equals(type, analyzeType(compiler, code)); |
} |
- checkType(compiler.intClass.computeType(compiler.resolution), "3"); |
- checkType(compiler.boolClass.computeType(compiler.resolution), "false"); |
- checkType(compiler.boolClass.computeType(compiler.resolution), "true"); |
- checkType( |
- compiler.stringClass.computeType(compiler.resolution), "'hestfisk'"); |
+ checkType(compiler.coreTypes.intType, "3"); |
+ checkType(compiler.coreTypes.boolType, "false"); |
+ checkType(compiler.coreTypes.boolType, "true"); |
+ checkType(compiler.coreTypes.stringType, "'hestfisk'"); |
} |
Future testReturn(MockCompiler compiler) { |