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

Unified Diff: tests/compiler/dart2js/benign_error_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
« no previous file with comments | « tests/compiler/dart2js/assert_message_throw_test.dart ('k') | tests/compiler/dart2js/compiler_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/benign_error_test.dart
diff --git a/tests/compiler/dart2js/benign_error_test.dart b/tests/compiler/dart2js/benign_error_test.dart
index 143239b3b162c4e6e41f8dea159fb5966559bbe7..3e01a7d193a08d6c82003f342cf3b850e2b207ef 100644
--- a/tests/compiler/dart2js/benign_error_test.dart
+++ b/tests/compiler/dart2js/benign_error_test.dart
@@ -34,6 +34,7 @@ testExamples(MessageKind kind) async {
.isTrue(collector.errors.any((message) => message.messageKind == kind));
Compiler compiler = result.compiler;
JavaScriptBackend backend = compiler.backend;
- Expect.isNotNull(backend.generatedCode[compiler.mainFunction]);
+ Expect.isNotNull(backend.generatedCode[
+ compiler.frontendStrategy.elementEnvironment.mainFunction]);
}
}
« no previous file with comments | « tests/compiler/dart2js/assert_message_throw_test.dart ('k') | tests/compiler/dart2js/compiler_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698