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

Unified Diff: tests/compiler/dart2js/mirrors_used_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/minimal_resolution_test.dart ('k') | tests/compiler/dart2js/mock_compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/mirrors_used_test.dart
diff --git a/tests/compiler/dart2js/mirrors_used_test.dart b/tests/compiler/dart2js/mirrors_used_test.dart
index 9e18fb8bf1863c9d7ec48fbf02a47373405db940..f1758a3dc685ac0190ac2d9039fa76ae55eea881 100644
--- a/tests/compiler/dart2js/mirrors_used_test.dart
+++ b/tests/compiler/dart2js/mirrors_used_test.dart
@@ -89,13 +89,13 @@ void main() {
// We always include the names of some native classes.
List<ClassElement> nativeClasses = [
- compiler.commonElements.intClass,
- compiler.commonElements.doubleClass,
- compiler.commonElements.numClass,
- compiler.commonElements.stringClass,
- compiler.commonElements.boolClass,
- compiler.commonElements.nullClass,
- compiler.commonElements.listClass
+ compiler.resolution.commonElements.intClass,
+ compiler.resolution.commonElements.doubleClass,
+ compiler.resolution.commonElements.numClass,
+ compiler.resolution.commonElements.stringClass,
+ compiler.resolution.commonElements.boolClass,
+ compiler.resolution.commonElements.nullClass,
+ compiler.resolution.commonElements.listClass
];
Iterable<String> nativeNames = nativeClasses.map(backend.namer.className);
expectedNames = expectedNames.map(backend.namer.asName).toList();
« no previous file with comments | « tests/compiler/dart2js/minimal_resolution_test.dart ('k') | tests/compiler/dart2js/mock_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698