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

Unified Diff: editor/tools/plugins/com.google.dart.command.analyze/src/com/google/dart/command/analyze/AnalyzerOptions.java

Issue 12438007: Updates to the new analyzer to help make the try bot happy. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 months 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: editor/tools/plugins/com.google.dart.command.analyze/src/com/google/dart/command/analyze/AnalyzerOptions.java
===================================================================
--- editor/tools/plugins/com.google.dart.command.analyze/src/com/google/dart/command/analyze/AnalyzerOptions.java (revision 19891)
+++ editor/tools/plugins/com.google.dart.command.analyze/src/com/google/dart/command/analyze/AnalyzerOptions.java (working copy)
@@ -129,6 +129,14 @@
@Option(name = "--fatal-warnings")
private boolean warningsAreFatal = false;
+ // TODO(devoncarew): this is unused, and is only for dartc compatibility
+ @Option(name = "--fatal-type-errors")
+ private boolean fatalTypeError = false;
+
+ // TODO(devoncarew): this is unused, and is only for dartc compatibility
+ @Option(name = "--error_format")
+ private String errorFormat = "";
+
@Option(name = "--create-sdk-index", //
metaVar = "<file>")
private File sdkIndexLocation = null;
@@ -155,6 +163,10 @@
}
public boolean getMachineFormat() {
+ if ("machine".equals(errorFormat)) {
+ return true;
+ }
+
return machineFormat;
}

Powered by Google App Engine
This is Rietveld 408576698