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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java

Issue 15500002: Checkpoint for more inheritance error codes 'Missing inherited member' warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase with bleeding_edge Created 7 years, 7 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.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 29473199b6dda2cbbe4329c353a936a4d4c9c7fd..155fd9237cd86a44134b70b18f63e69b71419c0e 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
@@ -319,17 +319,24 @@ public enum StaticWarningCode implements ErrorCode {
NEW_WITH_UNDEFINED_CONSTRUCTOR_DEFAULT("The class '%s' does not have a default constructor"),
/**
+ * 7.9.1 Inheritance and Overriding: It is a static warning if a non-abstract class inherits an
+ * abstract method.
+ * <p>
* 7.10 Superinterfaces: It is a static warning if the implicit interface of a non-abstract class
* <i>C</i> includes an instance member <i>m</i> and <i>C</i> does not declare or inherit a
* corresponding instance member <i>m</i>.
*/
- NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER(""),
+ NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER_SINGLE("Missing inherited member '%s' from '%s'"),
/**
* 7.9.1 Inheritance and Overriding: It is a static warning if a non-abstract class inherits an
* abstract method.
+ * <p>
+ * 7.10 Superinterfaces: It is a static warning if the implicit interface of a non-abstract class
+ * <i>C</i> includes an instance member <i>m</i> and <i>C</i> does not declare or inherit a
+ * corresponding instance member <i>m</i>.
*/
- NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_METHOD(""),
+ NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER_MULTIPLE("Missing inherited members"),
/**
* 12.31 Type Test: It is a static warning if <i>T</i> does not denote a type available in the

Powered by Google App Engine
This is Rietveld 408576698