Index: compiler/java/com/google/dart/compiler/DartCompiler.java |
diff --git a/compiler/java/com/google/dart/compiler/DartCompiler.java b/compiler/java/com/google/dart/compiler/DartCompiler.java |
index b67c0633bc988f1f7cd36156ec4ef0e44f9399a9..a585bb2a194e4ebb11ac3234166fcb575664346c 100644 |
--- a/compiler/java/com/google/dart/compiler/DartCompiler.java |
+++ b/compiler/java/com/google/dart/compiler/DartCompiler.java |
@@ -1048,9 +1048,9 @@ public class DartCompiler { |
} |
try { |
File outputDirectory = config.getOutputDirectory(); |
- boolean printMachineProblems = config.printMachineProblems(); |
DefaultDartArtifactProvider provider = new DefaultDartArtifactProvider(outputDirectory); |
- DefaultDartCompilerListener listener = new DefaultDartCompilerListener(printMachineProblems); |
+ DefaultDartCompilerListener listener = new DefaultDartCompilerListener( |
+ config.printErrorFormat()); |
// Compile the Dart application and its dependencies. |
LibrarySource lib = new UrlLibrarySource(sourceFile); |