Index: tests/compiler/dart2js/memory_compiler.dart |
diff --git a/tests/compiler/dart2js/memory_compiler.dart b/tests/compiler/dart2js/memory_compiler.dart |
index 906799d560c88c44dedb8299f4916cbbe8c18126..be6780fcb739eaf90bfd9d3062e40d02110b9c2f 100644 |
--- a/tests/compiler/dart2js/memory_compiler.dart |
+++ b/tests/compiler/dart2js/memory_compiler.dart |
@@ -210,7 +210,7 @@ Compiler compilerFor( |
if (cachedCompiler != null) { |
compiler.coreLibrary = |
cachedCompiler.libraryLoader.lookupLibrary(Uri.parse('dart:core')); |
- compiler.types = cachedCompiler.types.copy(compiler); |
+ compiler.types = cachedCompiler.types.copy(compiler.resolution); |
Map copiedLibraries = {}; |
cachedCompiler.libraryLoader.libraries.forEach((library) { |
if (library.isPlatformLibrary) { |