Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2164)

Unified Diff: compiler/java/com/google/dart/runner/DartRunner.java

Issue 8476005: Support for --machine-problems, tests for PrettyErrorFormatter (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: compiler/java/com/google/dart/runner/DartRunner.java
diff --git a/compiler/java/com/google/dart/runner/DartRunner.java b/compiler/java/com/google/dart/runner/DartRunner.java
index f419c16bf391162111e27519bd77204cefe4e821..9f47f793a324f78c729b23ccf73ae0fc6ec5897c 100644
--- a/compiler/java/com/google/dart/runner/DartRunner.java
+++ b/compiler/java/com/google/dart/runner/DartRunner.java
@@ -123,7 +123,8 @@ public class DartRunner {
File outFile = options.getOutputFilename();
- DefaultDartCompilerListener listener = new DefaultDartCompilerListener(stderr);
+ DefaultDartCompilerListener listener =
+ new DefaultDartCompilerListener(stderr, options.printMachineProblems());
CompilationResult compiled;
compiled = compileApp(app, imports, options, listener);

Powered by Google App Engine
This is Rietveld 408576698