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

Unified Diff: tests/compiler/dart2js/expect_annotations_test.dart

Issue 2846433003: Run closed_world2_test using the normal compiler pipeline. (Closed)
Patch Set: Updated cf. comments Created 3 years, 8 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/expect_annotations_test.dart
diff --git a/tests/compiler/dart2js/expect_annotations_test.dart b/tests/compiler/dart2js/expect_annotations_test.dart
index 851dc65084de3950c6a90b881727a52b98c9113e..db049f8dea811ebe1920f26e831a555b83209b55 100644
--- a/tests/compiler/dart2js/expect_annotations_test.dart
+++ b/tests/compiler/dart2js/expect_annotations_test.dart
@@ -83,7 +83,8 @@ main() {
TypeMask expectedParameterType: null,
TypeMask expectedReturnType: null,
bool expectAssumeDynamic: false}) {
- Element method = compiler.mainApp.find(name);
+ LibraryElement mainApp = compiler.mainApp;
+ Element method = mainApp.find(name);
Expect.isNotNull(method);
Expect.equals(expectNoInline, backend.annotations.noInline(method),
"Unexpected annotation of @NoInline on '$method'.");
« no previous file with comments | « tests/compiler/dart2js/dill_loader_test.dart ('k') | tests/compiler/dart2js/inference/inference_test_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698