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

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

Issue 10915171: Don't report 'no such method' if class defines 'noSuchMethod' (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add preference Created 8 years, 3 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 ec7fe6f558f263ea7850eecca99f65115f85802e..d3255f7a3638393f9a225e46f325c49ec74d2927 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,6 +480,13 @@ public class DartCompilerUtilities {
public static final CompilerOptions COMPILER_OPTIONS = new CompilerOptions() {
@Override
+ public boolean reportNoMemberWhenHasInterceptor() {
+ return DartCore.getPlugin().getPrefs().getBoolean(
+ DartCore.REPORT_NO_MEMBER_WHEN_HAS_INTERCEPTOR,
+ false);
Brian Wilkerson 2012/09/10 15:22:56 Unless I'm confused, this is the inverse of the de
scheglov 2012/09/10 15:40:05 Yes, this is correct. Do according Spec for comman
+ }
+
+ @Override
public boolean typeChecksForInferredTypes() {
return DartCore.getPlugin().getPrefs().getBoolean(
DartCore.TYPE_CHECKS_FOR_INFERRED_TYPES,

Powered by Google App Engine
This is Rietveld 408576698