| 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 d3081d214ca7ea3b911f12fadf65c64d57d7b9aa..66bd06781a7967552cbd69b5a48b5fc2b53889e9 100644
|
| --- a/pkg/compiler/lib/src/resolution/resolution.dart
|
| +++ b/pkg/compiler/lib/src/resolution/resolution.dart
|
| @@ -223,7 +223,7 @@ class ResolverTask extends CompilerTask {
|
| if (element.isGenerativeConstructor) {
|
| reporter.reportErrorMessage(
|
| tree, MessageKind.CONST_CONSTRUCTOR_WITH_BODY);
|
| - } else if (!tree.isRedirectingFactory) {
|
| + } else if (!tree.isRedirectingFactory && !element.isPatch) {
|
| reporter.reportErrorMessage(tree, MessageKind.CONST_FACTORY);
|
| }
|
| }
|
| @@ -453,6 +453,9 @@ class ResolverTask extends CompilerTask {
|
| seen.add(target);
|
| target = nextTarget;
|
| }
|
| + if (!target.isMalformed && !target.hasFunctionSignature) {
|
| + target.computeType(resolution);
|
| + }
|
|
|
| if (target.isGenerativeConstructor && target.enclosingClass.isAbstract) {
|
| isMalformed = true;
|
|
|