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 ca0319638fac3aad99708a43c4fa3c7754f9c1ad..cd79de45ab03ddf55b199fd0aefdc187c2147ed4 100644 |
--- a/compiler/java/com/google/dart/compiler/DartCompiler.java |
+++ b/compiler/java/com/google/dart/compiler/DartCompiler.java |
@@ -1012,8 +1012,9 @@ public class DartCompiler { |
} |
try { |
File outputDirectory = config.getOutputDirectory(); |
+ boolean printMachineProblems = config.printMachineProblems(); |
DefaultDartArtifactProvider provider = new DefaultDartArtifactProvider(outputDirectory); |
- DefaultDartCompilerListener listener = new DefaultDartCompilerListener(); |
+ DefaultDartCompilerListener listener = new DefaultDartCompilerListener(printMachineProblems); |
// Compile the Dart application and its dependencies. |
LibrarySource lib = new UrlLibrarySource(sourceFile); |