Index: pkg/compiler/lib/src/diagnostics/messages.dart |
diff --git a/pkg/compiler/lib/src/diagnostics/messages.dart b/pkg/compiler/lib/src/diagnostics/messages.dart |
index 85f8289856e239ed1f317e9b9f3c7385e47719a8..203ef60475133b3c610e3453205b832de270caac 100644 |
--- a/pkg/compiler/lib/src/diagnostics/messages.dart |
+++ b/pkg/compiler/lib/src/diagnostics/messages.dart |
@@ -1847,10 +1847,6 @@ main() { |
const MessageTemplate(MessageKind.OPERATOR_NAMED_PARAMETERS, |
"Operator '#{operatorName}' cannot have named parameters."), |
- MessageKind.CONSTRUCTOR_WITH_RETURN_TYPE: |
- const MessageTemplate(MessageKind.CONSTRUCTOR_WITH_RETURN_TYPE, |
- "Cannot have return type for constructor."), |
- |
MessageKind.CANNOT_RETURN_FROM_CONSTRUCTOR: |
const MessageTemplate(MessageKind.CANNOT_RETURN_FROM_CONSTRUCTOR, |
"Constructors can't return values.", |