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

Unified Diff: tests/compiler/dart2js/inference/inference_test_helper.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/inference/inference_test_helper.dart
diff --git a/tests/compiler/dart2js/inference/inference_test_helper.dart b/tests/compiler/dart2js/inference/inference_test_helper.dart
index a7252caf5695ef105e9ca9fc2e48e4a754833e08..23712bad1230d5c817cf56847be9a8f248183857 100644
--- a/tests/compiler/dart2js/inference/inference_test_helper.dart
+++ b/tests/compiler/dart2js/inference/inference_test_helper.dart
@@ -32,7 +32,7 @@ checkCode(String annotatedCode, CheckMemberFunction checkMember,
Uri mainUri = Uri.parse('memory:main.dart');
await compiler.run(mainUri);
LibraryElement mainApp = compiler.mainApp;
- mainApp.forEachLocalMember((member) {
+ mainApp.forEachLocalMember((dynamic member) {
if (member.isClass) {
member.forEachLocalMember((member) {
checkMember(compiler, expectedMap, member);

Powered by Google App Engine
This is Rietveld 408576698