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

Unified Diff: tests/compiler/dart2js/analyze_dart2js_helpers_test.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/analyze_dart2js_helpers_test.dart
diff --git a/tests/compiler/dart2js/analyze_dart2js_helpers_test.dart b/tests/compiler/dart2js/analyze_dart2js_helpers_test.dart
index 22f6ccae01ce8049943211745ad7efa02eafdf09..7e190bfa0751f9967b08c8169dd2caaebec31dfd 100644
--- a/tests/compiler/dart2js/analyze_dart2js_helpers_test.dart
+++ b/tests/compiler/dart2js/analyze_dart2js_helpers_test.dart
@@ -61,7 +61,8 @@ main(List<String> arguments) {
}
library.forEachLocalMember((Element element) {
if (element is ClassElement) {
- element.forEachLocalMember((AstElement member) {
+ element.forEachLocalMember((_member) {
+ AstElement member = _member;
analyzer.analyze(member.resolvedAst);
});
} else if (element is MemberElement) {

Powered by Google App Engine
This is Rietveld 408576698