Index: lib/compiler/implementation/warnings.dart |
diff --git a/lib/compiler/implementation/warnings.dart b/lib/compiler/implementation/warnings.dart |
index ce34b0ca6da8f43b303ccf10e4fc944b3dd2c155..976c76b8fbd5799582d0a9e894241b8e5c1000b5 100644 |
--- a/lib/compiler/implementation/warnings.dart |
+++ b/lib/compiler/implementation/warnings.dart |
@@ -154,6 +154,8 @@ class MessageKind { |
static final CANNOT_INSTANTIATE_TYPEDEF = const MessageKind( |
"cannot instantiate typedef '#{1}'"); |
+ static final CYCLIC_TYPEDEF = const MessageKind( |
+ "a typedef may not refer to the type it is defining"); |
ahe
2012/07/30 10:30:05
I think this message should include the name of th
Johnni Winther
2012/08/01 10:12:29
Done.
|
static final NO_DEFAULT_CLASS = const MessageKind( |
"no default class on enclosing interface '#{1}'"); |