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

Unified Diff: compiler/java/com/google/dart/compiler/CommandLineOptions.java

Issue 10546161: Issue 3516. Make displaying warning for inferred types configurable (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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: compiler/java/com/google/dart/compiler/CommandLineOptions.java
diff --git a/compiler/java/com/google/dart/compiler/CommandLineOptions.java b/compiler/java/com/google/dart/compiler/CommandLineOptions.java
index 31792be3c4e9d5db89d5282c4e79a884baa633b1..d73a438e8eb33404fe39deeaeb6c42f6f8de53c2 100644
--- a/compiler/java/com/google/dart/compiler/CommandLineOptions.java
+++ b/compiler/java/com/google/dart/compiler/CommandLineOptions.java
@@ -158,6 +158,13 @@ public class CommandLineOptions {
}
/**
+ * Returns whether "not a member" warnings should be suppressed for inferred types.
+ */
+ public boolean suppressNoMemberWarningForInferredTypes() {
+ return false;
+ }
+
+ /**
* Returns the list of files passed to the compiler.
*/
public List<String> getSourceFiles() {

Powered by Google App Engine
This is Rietveld 408576698