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"); |