Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java |
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java |
index 19cb76477f4bdc0aca60262560e5ada109470962..76cec51b57bb8a6e7ee31ee97330f93108ba2c5e 100644 |
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java |
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java |
@@ -129,6 +129,13 @@ public enum StaticWarningCode implements ErrorCode { |
"Superclass '%s' declares static member with the same name"), |
/** |
+ * 7.1 Instance Methods: It is a static warning if a class <i>C</i> declares an instance method |
+ * named <i>n</i> and has a setter named <i>n=</i>. |
+ */ |
+ CONFLICTING_INSTANCE_METHOD_SETTER( |
+ "Class '%s' declares instance method %s and has a setter with the same name from '%s'"), |
+ |
+ /** |
* 7.3 Setters: It is a static warning if a class <i>C</i> declares an instance setter named |
* <i>v=</i> and an accessible static member named <i>v=</i> or <i>v</i> is declared in a |
* superclass of <i>C</i>. |