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

Unified Diff: tests/compiler/dart2js/resolution_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
« no previous file with comments | « tests/compiler/dart2js/related_types.dart ('k') | tests/compiler/dart2js/resolver_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/resolution_test.dart
diff --git a/tests/compiler/dart2js/resolution_test.dart b/tests/compiler/dart2js/resolution_test.dart
index c905c7db473f8d4cb26bdf7e2deac635f5f426e1..a0afddfd3eba0676b53fd481273b6e3d921892dd 100644
--- a/tests/compiler/dart2js/resolution_test.dart
+++ b/tests/compiler/dart2js/resolution_test.dart
@@ -102,7 +102,7 @@ void test(String code, void check(CompilerImpl compiler)) {
void testHasRuntimeType(String code) {
test(code, (compiler) {
- var element = compiler.commonElements.createRuntimeType;
+ var element = compiler.resolution.commonElements.createRuntimeType;
Expect.isTrue(
compiler.enqueuer.resolution.processedEntities.contains(element));
});
@@ -110,7 +110,7 @@ void testHasRuntimeType(String code) {
main() {
test(NO_RUNTIME_TYPE, (compiler) {
- var element = compiler.commonElements.createRuntimeType;
+ var element = compiler.resolution.commonElements.createRuntimeType;
Expect.isFalse(
compiler.enqueuer.resolution.processedEntities.contains(element));
});
« no previous file with comments | « tests/compiler/dart2js/related_types.dart ('k') | tests/compiler/dart2js/resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698