| Index: pkg/compiler/lib/src/resolution/send_resolver.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/send_resolver.dart b/pkg/compiler/lib/src/resolution/send_resolver.dart
|
| index 479dca04b1ee6cbd4b7525d3691d663ba1e79511..60fca5dad148daace408a35a4784ed7a453bf80a 100644
|
| --- a/pkg/compiler/lib/src/resolution/send_resolver.dart
|
| +++ b/pkg/compiler/lib/src/resolution/send_resolver.dart
|
| @@ -33,7 +33,7 @@ abstract class SendResolverMixin {
|
| return new ConstructorAccessSemantics(
|
| ConstructorAccessKind.NON_CONSTANT_CONSTRUCTOR, constructor, type);
|
| }
|
| - if (constructor.isErroneous) {
|
| + if (constructor.isMalformed) {
|
| if (constructor is ErroneousElement) {
|
| ErroneousElement error = constructor;
|
| if (error.messageKind == MessageKind.CANNOT_FIND_CONSTRUCTOR) {
|
| @@ -46,7 +46,7 @@ abstract class SendResolverMixin {
|
| } else if (constructor.isRedirectingFactory) {
|
| ConstructorElement effectiveTarget = constructor.effectiveTarget;
|
| if (effectiveTarget == constructor ||
|
| - effectiveTarget.isErroneous ||
|
| + effectiveTarget.isMalformed ||
|
| (mustBeConstant && !effectiveTarget.isConst)) {
|
| return new ConstructorAccessSemantics(
|
| ConstructorAccessKind.ERRONEOUS_REDIRECTING_FACTORY,
|
|
|