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

Unified Diff: tests/compiler/dart2js/codegen_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/codegen_helper.dart
diff --git a/tests/compiler/dart2js/codegen_helper.dart b/tests/compiler/dart2js/codegen_helper.dart
index b578c567589a5c9bc0aec7c31d25c32eb10a7129..a5f37bcb44d284c03b4a5c220673904fbd2e4003 100644
--- a/tests/compiler/dart2js/codegen_helper.dart
+++ b/tests/compiler/dart2js/codegen_helper.dart
@@ -31,7 +31,7 @@ Future<Map<String, String>> generate(String code,
Expect.isTrue(success);
Map<String, String> result = new Map<String, String>();
var backend = compiler.backend;
- for (var element in backend.generatedCode.keys) {
+ for (dynamic element in backend.generatedCode.keys) {
if (element.compilationUnit.script.readableUri != uri) continue;
var name = element.name;
var code = backend.getGeneratedCode(element);

Powered by Google App Engine
This is Rietveld 408576698