Index: lib/compiler/implementation/warnings.dart |
diff --git a/lib/compiler/implementation/warnings.dart b/lib/compiler/implementation/warnings.dart |
index e938bbfab17b114555e9e74531b7ffa9475009fc..ec93fd1ceb423cca383aef1d4432be8e4e7f2d18 100644 |
--- a/lib/compiler/implementation/warnings.dart |
+++ b/lib/compiler/implementation/warnings.dart |
@@ -78,6 +78,9 @@ class MessageKind { |
'invalid initializer'); |
static final FUNCTION_WITH_INITIALIZER = const MessageKind( |
'only constructors can have initializers'); |
+ static final CONSTRUCTOR_WITH_RETURN_TYPE = const MessageKind( |
+ 'cannot have return type for constructor'); |
ahe
2012/08/24 08:32:18
Please append new error messages just before COMPI
|
+ |
static final REDIRECTING_CONSTRUCTOR_CYCLE = const MessageKind( |
'cyclic constructor redirection'); |
static final REDIRECTING_CONSTRUCTOR_HAS_BODY = const MessageKind( |