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

Unified Diff: tests/compiler/dart2js/instantiated_classes_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/instantiated_classes_test.dart
diff --git a/tests/compiler/dart2js/instantiated_classes_test.dart b/tests/compiler/dart2js/instantiated_classes_test.dart
index b270135bad8ddf95f8f3e89390038e7eaf350c11..b18d2c28031f9133c182053ba83a93cdc1800f13 100644
--- a/tests/compiler/dart2js/instantiated_classes_test.dart
+++ b/tests/compiler/dart2js/instantiated_classes_test.dart
@@ -89,7 +89,7 @@ Future test(String source, List<String> directlyInstantiatedClasses,
mainSource.write('}');
return TypeEnvironment
.create(source, mainSource: mainSource.toString(), useMockCompiler: true)
- .then((env) {
+ .then((dynamic env) {
Iterable<ClassEntity> expectedClasses =
directlyInstantiatedClasses.map(env.getElement);
Iterable<ClassEntity> actualClasses = env

Powered by Google App Engine
This is Rietveld 408576698