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

Unified Diff: compiler/java/com/google/dart/compiler/CommandLineOptions.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: 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 ad884011ec92a4044d648c147f1e57c1e8062644..568c8afafeadcaaedad0f5abeeed836911d70e47 100644
--- a/compiler/java/com/google/dart/compiler/CommandLineOptions.java
+++ b/compiler/java/com/google/dart/compiler/CommandLineOptions.java
@@ -169,6 +169,14 @@ public class CommandLineOptions {
}
/**
+ * Returns whether "no such member" should be reported for classes which implement
+ * "noSuchMethod" method.
+ */
+ public boolean reportNoMemberWhenHasInterceptor() {
+ return true;
+ }
+
+ /**
* Returns the list of files passed to the compiler.
*/
public List<String> getSourceFiles() {

Powered by Google App Engine
This is Rietveld 408576698