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 f394bdf5cc93bfbfefbfb08d01ee470b8e7c023a..ba2d4d6119095829e8597e298139b2bfd46b334c 100644 |
--- a/pkg/compiler/lib/src/diagnostics/messages.dart |
+++ b/pkg/compiler/lib/src/diagnostics/messages.dart |
@@ -979,17 +979,6 @@ main() {}"""}, |
const MessageTemplate(MessageKind.REDIRECTING_CONSTRUCTOR_HAS_BODY, |
"Redirecting constructor can't have a body."), |
- MessageKind.CONST_CONSTRUCTOR_HAS_BODY: |
- const MessageTemplate(MessageKind.CONST_CONSTRUCTOR_HAS_BODY, |
- "Const constructor or factory can't have a body.", |
- howToFix: "Remove the 'const' keyword or the body", |
- examples: const [""" |
-class C { |
- const C() {} |
-} |
- |
-main() => new C();"""]), |
- |
MessageKind.REDIRECTING_CONSTRUCTOR_HAS_INITIALIZER: |
const MessageTemplate( |
MessageKind.REDIRECTING_CONSTRUCTOR_HAS_INITIALIZER, |