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

Unified Diff: sdk/lib/_internal/compiler/implementation/warnings.dart

Issue 13133006: Check for cyclic type variable bounds. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased Created 7 years, 9 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: sdk/lib/_internal/compiler/implementation/warnings.dart
diff --git a/sdk/lib/_internal/compiler/implementation/warnings.dart b/sdk/lib/_internal/compiler/implementation/warnings.dart
index fcadc1227a67a69bc6449fff887832da82b65d3c..121f88ba47005d9473e3afdfe82ae0806f85d8a0 100644
--- a/sdk/lib/_internal/compiler/implementation/warnings.dart
+++ b/sdk/lib/_internal/compiler/implementation/warnings.dart
@@ -191,7 +191,7 @@ class MessageKind {
"no default class on enclosing interface '#{interfaceName}'");
static const CYCLIC_TYPE_VARIABLE = const MessageKind(
- "cyclic reference to type variable #{typeVariableName}");
+ "type variable #{typeVariableName} is a supertype of its upper bound");
ahe 2013/04/02 09:08:16 How about: "is a supertype of itself"
Johnni Winther 2013/04/02 12:53:48 Done.
static const CYCLIC_TYPEDEF = const MessageKind(
"typedef #{typedefName} refers to itself");

Powered by Google App Engine
This is Rietveld 408576698