| Index: tests/compiler/dart2js/type_test_helper.dart
|
| diff --git a/tests/compiler/dart2js/type_test_helper.dart b/tests/compiler/dart2js/type_test_helper.dart
|
| index 6f51c3b578537f95a71c23f2ed95be78dea986ea..175341f53cee6c0c68bfd453c5c3c22b7d58dd71 100644
|
| --- a/tests/compiler/dart2js/type_test_helper.dart
|
| +++ b/tests/compiler/dart2js/type_test_helper.dart
|
| @@ -91,7 +91,8 @@ class TypeEnvironment {
|
| TypeEnvironment._(Compiler this.compiler);
|
|
|
| Element getElement(String name) {
|
| - LibraryElement mainApp = compiler.mainApp;
|
| + LibraryElement mainApp =
|
| + compiler.frontendStrategy.elementEnvironment.mainLibrary;
|
| var element = mainApp.find(name);
|
| Expect.isNotNull(element);
|
| if (element.isClass) {
|
|
|