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

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

Issue 2854013002: Make JavaScriptBackend.processAnnotations element-model agnostic (Closed)
Patch Set: 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 9ca88103b18316301eda3c31450b62bff38c2617..136cb52a7c79e45aa2b2cdcad990dbac4a4caea8 100644
--- a/tests/compiler/dart2js/expect_annotations_test.dart
+++ b/tests/compiler/dart2js/expect_annotations_test.dart
@@ -84,7 +84,7 @@ main() {
TypeMask expectedReturnType: null,
bool expectAssumeDynamic: false}) {
LibraryElement mainApp = compiler.mainApp;
- Element method = mainApp.find(name);
+ MethodElement method = mainApp.find(name);
Expect.isNotNull(method);
Expect.equals(expectNoInline, backend.annotations.noInline(method),
"Unexpected annotation of @NoInline on '$method'.");

Powered by Google App Engine
This is Rietveld 408576698