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

Unified Diff: compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.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/compiler/DefaultCompilerConfiguration.java
diff --git a/compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java b/compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java
index a767ecc1d526e669053175909989361e0ed318c3..ffba0dcc971560b500336cb50963df1463a5eef5 100644
--- a/compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java
+++ b/compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java
@@ -196,6 +196,11 @@ public class DefaultCompilerConfiguration implements CompilerConfiguration {
}
@Override
+ public boolean printMachineProblems() {
+ return compilerOptions.printMachineProblems();
+ }
+
+ @Override
public boolean collectComments() {
return compilerOptions.generateDocumentation();
}

Powered by Google App Engine
This is Rietveld 408576698