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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/AnalysisUtility.java

Issue 10837194: Fix for inferred type warnings pref page (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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.tools.core/src/com/google/dart/tools/core/analysis/AnalysisUtility.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/AnalysisUtility.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/AnalysisUtility.java
index 81d0f36a31d32ffe7706ef5b9fd049f34ed6f996..4f3031cf3556dbfaced93d5677ffec5e3c5825fd 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/AnalysisUtility.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/AnalysisUtility.java
@@ -49,9 +49,9 @@ class AnalysisUtility {
private static final CompilerConfiguration config = new DefaultCompilerConfiguration(
new CompilerOptions() {
@Override
- public boolean suppressNoMemberWarningForInferredTypes() {
+ public boolean memberWarningForInferredTypes() {
return DartCore.getPlugin().getPrefs().getBoolean(
- DartCore.SUPPRESS_NO_MEMBER_FOR_INFERRED_TYPES,
+ DartCore.MEMBER_WARNING_FOR_INFERRED_TYPES,
true);
devoncarew 2012/08/09 22:37:57 Do we want this to default to true?
scheglov 2012/08/09 22:50:42 Fixed. Thank you.
}
},

Powered by Google App Engine
This is Rietveld 408576698