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

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

Issue 282063004: Fix for issue 14116 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Clean-up Created 6 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/CompileTimeErrorCode.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java
index c33a3a56e15d3d01cf133ddfbdb3632bdce6eb89..9fe2892f1aba6af542e57a7302efdfcc1c2b8d78 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java
@@ -1187,6 +1187,18 @@ public enum CompileTimeErrorCode implements ErrorCode {
RECURSIVE_INTERFACE_INHERITANCE_BASE_CASE_IMPLEMENTS("'%s' cannot implement itself"),
/**
+ * 7.10 Superinterfaces: It is a compile-time error if the interface of a class <i>C</i> is a
+ * superinterface of itself.
+ * <p>
+ * 8.1 Superinterfaces: It is a compile-time error if an interface is a superinterface of itself.
+ * <p>
+ * 7.9 Superclasses: It is a compile-time error if a class <i>C</i> is a superclass of itself.
+ *
+ * @param className the name of the class that implements itself recursively
+ */
+ RECURSIVE_INTERFACE_INHERITANCE_BASE_CASE_WITH("'%s' cannot use itself as a mixin"),
+
+ /**
* 7.6.2 Factories: It is a compile-time error if <i>k</i> is prefixed with the const modifier but
* <i>k'</i> is not a constant constructor.
*/

Powered by Google App Engine
This is Rietveld 408576698