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

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

Issue 2936233003: Remove Compiler.mainApp and Compiler.mainFunction (Closed)
Patch Set: 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/container_mask_equal_test.dart
diff --git a/tests/compiler/dart2js/container_mask_equal_test.dart b/tests/compiler/dart2js/container_mask_equal_test.dart
index 5bb5298e4c354dc5a6e517081cf8ec1f902cb538..0cded2596aaa3d36377bb159397e737bb18ca275 100644
--- a/tests/compiler/dart2js/container_mask_equal_test.dart
+++ b/tests/compiler/dart2js/container_mask_equal_test.dart
@@ -33,16 +33,20 @@ main() {
var typesInferrer = compiler.globalInference.typesInferrerInternal;
var closedWorld = typesInferrer.closedWorld;
- var element = compiler.mainApp.find('a');
+ var element =
+ compiler.frontendStrategy.elementEnvironment.mainLibrary.find('a');
var mask1 = typesInferrer.getReturnTypeOfElement(element);
- element = compiler.mainApp.find('b');
+ element =
+ compiler.frontendStrategy.elementEnvironment.mainLibrary.find('b');
var mask2 = typesInferrer.getReturnTypeOfElement(element);
- element = compiler.mainApp.find('c');
+ element =
+ compiler.frontendStrategy.elementEnvironment.mainLibrary.find('c');
var mask3 = typesInferrer.getReturnTypeOfElement(element);
- element = compiler.mainApp.find('d');
+ element =
+ compiler.frontendStrategy.elementEnvironment.mainLibrary.find('d');
var mask4 = typesInferrer.getReturnTypeOfElement(element);
Expect.notEquals(

Powered by Google App Engine
This is Rietveld 408576698