Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1045)

Unified Diff: tests/compiler/dart2js/type_checker_test.dart

Issue 2595493002: Merge CoreTypes and CoreClasses into CommonElements. (Closed)
Patch Set: Updated cf. comment Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 96dba28f247bd3a53b571c0563bac197cbd91be1..b0123f09f627a59fc31f2dd715e82ea2c08ff9dd 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.coreTypes.intType, "3");
- checkType(compiler.coreTypes.boolType, "false");
- checkType(compiler.coreTypes.boolType, "true");
- checkType(compiler.coreTypes.stringType, "'hestfisk'");
+ checkType(compiler.commonElements.intType, "3");
+ checkType(compiler.commonElements.boolType, "false");
+ checkType(compiler.commonElements.boolType, "true");
+ checkType(compiler.commonElements.stringType, "'hestfisk'");
}
Future testReturn(MockCompiler compiler) {
« no previous file with comments | « tests/compiler/dart2js/trust_type_annotations_test.dart ('k') | tests/compiler/dart2js/type_combination_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698