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

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

Issue 2939063002: Strong mode cleaning of many dart2js tests. (Closed)
Patch Set: Use ClassElement. 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/related_types.dart
diff --git a/tests/compiler/dart2js/related_types.dart b/tests/compiler/dart2js/related_types.dart
index 580dd149e141cba72ae8d3f261f416d6c99c2483..d3609ffceb5f126ce1ae513a9dcf6f355c32c586 100644
--- a/tests/compiler/dart2js/related_types.dart
+++ b/tests/compiler/dart2js/related_types.dart
@@ -47,7 +47,8 @@ void checkLibraryElement(Compiler compiler, LibraryElement library) {
library.forEachLocalMember((Element element) {
if (element.isClass) {
ClassElement cls = element;
- cls.forEachLocalMember((MemberElement member) {
+ cls.forEachLocalMember((_member) {
+ MemberElement member = _member;
checkMemberElement(compiler, member);
});
} else if (!element.isTypedef) {

Powered by Google App Engine
This is Rietveld 408576698