Index: lib/compiler/implementation/warnings.dart |
diff --git a/lib/compiler/implementation/warnings.dart b/lib/compiler/implementation/warnings.dart |
index b4b1cec2097d16b15eb58ec458e817ffe7976c54..383dc54f991822b25fb04dae06f7ec353c679204 100644 |
--- a/lib/compiler/implementation/warnings.dart |
+++ b/lib/compiler/implementation/warnings.dart |
@@ -22,6 +22,8 @@ class MessageKind { |
'missing argument of type #{1}'); |
static final ADDITIONAL_ARGUMENT = const MessageKind( |
'additional argument'); |
+ static final PROPERTY_NOT_FOUND = const MessageKind( |
+ 'no property named #{2} in class #{1}'); |
static final METHOD_NOT_FOUND = const MessageKind( |
'no method named #{2} in class #{1}'); |
static final MEMBER_NOT_STATIC = const MessageKind( |
@@ -122,6 +124,8 @@ class MessageKind { |
'target of continue is not a loop or switch case'); |
static final TYPE_VARIABLE_AS_CONSTRUCTOR = const MessageKind( |
'cannot use type variable as constructor'); |
+ static final DUPLICATE_TYPE_VARIABLE_NAME = const MessageKind( |
+ 'type variable #{1} already declared'); |
static final INVALID_BREAK = const MessageKind( |
'target of break is not a statement'); |
static final INVALID_USE_OF_SUPER = const MessageKind( |
@@ -152,6 +156,8 @@ class MessageKind { |
static final CANNOT_INSTANTIATE_TYPEDEF = const MessageKind( |
"cannot instantiate typedef '#{1}'"); |
+ static final CYCLIC_TYPEDEF = const MessageKind( |
+ "the typedef #{1} may not refer to itself"); |
static final NO_DEFAULT_CLASS = const MessageKind( |
"no default class on enclosing interface '#{1}'"); |