Index: tests/compiler/dart2js/source_map_name_test.dart |
diff --git a/tests/compiler/dart2js/source_map_name_test.dart b/tests/compiler/dart2js/source_map_name_test.dart |
index 413efd309a3e8c3b3263e2e6b3330002226af491..fa22f81e343818273aeccb1a32fc92a8769686e0 100644 |
--- a/tests/compiler/dart2js/source_map_name_test.dart |
+++ b/tests/compiler/dart2js/source_map_name_test.dart |
@@ -82,7 +82,8 @@ main() { |
CompilationResult result = |
await runCompiler(memorySourceFiles: {'main.dart': SOURCE}); |
Compiler compiler = result.compiler; |
- LibraryElement mainApp = compiler.mainApp; |
+ LibraryElement mainApp = |
+ compiler.frontendStrategy.elementEnvironment.mainLibrary; |
Element lookup(String name) { |
Element element; |