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

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

Issue 34473004: Issue 13906. It is still error when typedef references itself using type variable bounds. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/verifier/ErrorVerifier.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 dbfb4e36cf812f87f608f5dc57f5cc26047cb47c..f87234ba51ad03a9945636dc48b06029d10097a1 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
@@ -1125,11 +1125,11 @@ public enum CompileTimeErrorCode implements ErrorCode {
TYPE_ARGUMENT_NOT_MATCHING_BOUNDS("'%s' does not extend '%s'"),
/**
- * 15.3.1 Typedef: It is a compile-time error if a typedef refers to itself via a chain of
- * references that does not include a class declaration.
+ * 15.3.1 Typedef: Any self reference, either directly, or recursively via another typedef, is a
+ * compile time error..
Brian Wilkerson 2013/10/22 16:59:23 nit: extra period
*/
TYPE_ALIAS_CANNOT_REFERENCE_ITSELF(
- "Type alias can reference itself only via the bounds of its generic parameters"),
+ "Type alias cannot reference itself directly or or recursively via another typedef"),
Brian Wilkerson 2013/10/22 16:59:23 "or or" --> "or"
/**
* 12.11.2 Const: It is a compile-time error if <i>T</i> is not a class accessible in the current
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/verifier/ErrorVerifier.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698