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( |