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

Unified Diff: tests/compiler/dart2js/memory_compiler.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/memory_compiler.dart
diff --git a/tests/compiler/dart2js/memory_compiler.dart b/tests/compiler/dart2js/memory_compiler.dart
index beafeafffcc2c8bfb92f6edd93f88fa2b278f83d..df1772221a78a88ec3635ffca5b7268c9f7ab7a9 100644
--- a/tests/compiler/dart2js/memory_compiler.dart
+++ b/tests/compiler/dart2js/memory_compiler.dart
@@ -173,9 +173,9 @@ CompilerImpl compilerFor(
Types types = cachedCompiler.types;
compiler.types = types.copy(compiler.resolution);
Map copiedLibraries = {};
- cachedCompiler.libraryLoader.libraries.forEach((library) {
+ cachedCompiler.libraryLoader.libraries.forEach((dynamic library) {
if (library.isPlatformLibrary) {
- var libraryLoader = compiler.libraryLoader;
+ dynamic libraryLoader = compiler.libraryLoader;
libraryLoader.mapLibrary(library);
copiedLibraries[library.canonicalUri] = library;
}

Powered by Google App Engine
This is Rietveld 408576698