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

Unified Diff: tests/compiler/dart2js/resolver_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/resolver_test.dart
diff --git a/tests/compiler/dart2js/resolver_test.dart b/tests/compiler/dart2js/resolver_test.dart
index 1f4ef06e1a9936f964925c94d05d197af25dd73b..08af18edbc841934e1f33490af11acc7cbbd58f6 100644
--- a/tests/compiler/dart2js/resolver_test.dart
+++ b/tests/compiler/dart2js/resolver_test.dart
@@ -171,8 +171,8 @@ Future testTypeVariables() {
LibraryElement mainApp = compiler.mainApp;
ClassElement foo = mainApp.find('Foo');
matchResolvedTypes(visitor, 'Foo<int, String> x;', 'Foo', [
- compiler.commonElements.intClass,
- compiler.commonElements.stringClass
+ compiler.resolution.commonElements.intClass,
+ compiler.resolution.commonElements.stringClass
]);
matchResolvedTypes(visitor, 'Foo<Foo, Foo> x;', 'Foo', [foo, foo]);
}),
« no previous file with comments | « tests/compiler/dart2js/resolution_test.dart ('k') | tests/compiler/dart2js/simple_inferrer_final_field2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698