| Index: dart/tests/compiler/dart2js/memory_compiler.dart
|
| diff --git a/dart/tests/compiler/dart2js/memory_compiler.dart b/dart/tests/compiler/dart2js/memory_compiler.dart
|
| index eb5f58886883d40350453657822622412099d6f4..9cac4af34a244a2630d67ceb5deeb06dc03842a4 100644
|
| --- a/dart/tests/compiler/dart2js/memory_compiler.dart
|
| +++ b/dart/tests/compiler/dart2js/memory_compiler.dart
|
| @@ -88,7 +88,9 @@ Compiler compilerFor(Map<String,String> memorySourceFiles,
|
| createDiagnosticHandler(diagnosticHandler, provider, showDiagnostics);
|
|
|
| EventSink<String> outputProvider(String name, String extension) {
|
| - if (name != '') throw 'Attempt to output file "$name.$extension"';
|
| + if (name != '' && name != 'precompiled') {
|
| + throw 'Attempt to output file "$name.$extension"';
|
| + }
|
| return new NullSink('$name.$extension');
|
| }
|
|
|
|
|