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

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

Issue 2935663002: Remove Compiler.commonElements (Closed)
Patch Set: Remove Compiler._commonElements Created 3 years, 6 months 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 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) {
« 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