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

Unified Diff: tests/compiler/dart2js/source_map_name_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/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;
« no previous file with comments | « tests/compiler/dart2js/simple_inferrer_callers_test.dart ('k') | tests/compiler/dart2js/trust_type_annotations2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698