Index: tests/compiler/dart2js/dill_loader_test.dart |
diff --git a/tests/compiler/dart2js/dill_loader_test.dart b/tests/compiler/dart2js/dill_loader_test.dart |
index 2e7a8a4ea4730d8931dfd1d9df68125a246d4188..f4d94acda9445ba8d503a58b6f75b3bad0197219 100644 |
--- a/tests/compiler/dart2js/dill_loader_test.dart |
+++ b/tests/compiler/dart2js/dill_loader_test.dart |
@@ -67,7 +67,8 @@ main() { |
Expect.equals(0, diagnostics.errors.length); |
Expect.equals(0, diagnostics.warnings.length); |
- ElementEnvironment environment = compiler.elementEnvironment; |
+ ElementEnvironment environment = |
+ compiler.frontendStrategy.elementEnvironment; |
LibraryEntity library = environment.lookupLibrary(uri); |
Expect.isNotNull(library); |
ClassEntity clss = environment.lookupClass(library, 'ListLiteralTest'); |