Index: tests/compiler/dart2js/memory_compiler.dart |
=================================================================== |
--- tests/compiler/dart2js/memory_compiler.dart (revision 32236) |
+++ tests/compiler/dart2js/memory_compiler.dart (working copy) |
@@ -103,10 +103,7 @@ |
// files must be available to the new diagnostic handler. |
provider = expando[cachedCompiler.provider]; |
readStringFromUri = cachedCompiler.provider; |
- provider.memorySourceFiles.clear(); |
- memorySourceFiles.forEach((key, value) { |
- provider.memorySourceFiles[key] = value; |
- }); |
+ provider.memorySourceFiles = memorySourceFiles; |
} |
var handler = |
createDiagnosticHandler(diagnosticHandler, provider, showDiagnostics); |