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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerUtilities.java

Issue 10837282: Issue 4518. Use inferred types to check if type of argumetn is assignable to the type of parameter (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/utilities/compiler/DartCompilerUtilities.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerUtilities.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerUtilities.java
index 1594836304b42185b46704efcdbbc7210217c485..31c3e635c4fe9a453a0566c5699cfee73b35708d 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerUtilities.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerUtilities.java
@@ -480,9 +480,9 @@ public class DartCompilerUtilities {
public static final CompilerOptions COMPILER_OPTIONS = new CompilerOptions() {
@Override
- public boolean memberWarningForInferredTypes() {
+ public boolean typeChecksForInferredTypes() {
return DartCore.getPlugin().getPrefs().getBoolean(
- DartCore.MEMBER_WARNING_FOR_INFERRED_TYPES,
+ DartCore.TYPE_CHECKS_FOR_INFERRED_TYPES,
true);
}
};

Powered by Google App Engine
This is Rietveld 408576698