| Index: pkg/compiler/lib/src/resolution/resolution.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/resolution.dart b/pkg/compiler/lib/src/resolution/resolution.dart
|
| index bcb686ed7f04f3c7d63d55c5b8605f2e348e8b0e..ca1d268e7805278ade4e2ab04c1382ce42b6989c 100644
|
| --- a/pkg/compiler/lib/src/resolution/resolution.dart
|
| +++ b/pkg/compiler/lib/src/resolution/resolution.dart
|
| @@ -239,7 +239,7 @@ class ResolverTask extends CompilerTask {
|
| tree.hasBody() &&
|
| !tree.isRedirectingFactory) {
|
| reporter.reportErrorMessage(
|
| - tree, MessageKind.CONST_CONSTRUCTOR_HAS_BODY);
|
| + tree, MessageKind.CONST_CONSTRUCTOR_OR_FACTORY_WITH_BODY);
|
| }
|
| }
|
|
|
|
|