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

Unified Diff: tests/compiler/dart2js/simple_inferrer_final_field2_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/resolver_test.dart ('k') | tests/compiler/dart2js/simple_inferrer_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/simple_inferrer_final_field2_test.dart
diff --git a/tests/compiler/dart2js/simple_inferrer_final_field2_test.dart b/tests/compiler/dart2js/simple_inferrer_final_field2_test.dart
index 04dd4a308c2c9401c1591f3ef75cb04af11fe996..6967d560e33d7f288ba680ca221acb389df61170 100644
--- a/tests/compiler/dart2js/simple_inferrer_final_field2_test.dart
+++ b/tests/compiler/dart2js/simple_inferrer_final_field2_test.dart
@@ -37,9 +37,9 @@ void main() {
typesInferrer.getTypeOfElement(element).containsOnly(type));
}
- checkFieldTypeInClass(
- 'A', 'intField', compiler.commonElements.jsUInt31Class);
- checkFieldTypeInClass(
- 'A', 'stringField', compiler.commonElements.jsStringClass);
+ checkFieldTypeInClass('A', 'intField',
+ typesInferrer.closedWorld.commonElements.jsUInt31Class);
+ checkFieldTypeInClass('A', 'stringField',
+ typesInferrer.closedWorld.commonElements.jsStringClass);
}));
}
« no previous file with comments | « tests/compiler/dart2js/resolver_test.dart ('k') | tests/compiler/dart2js/simple_inferrer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698