| 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 60fca5dad148daace408a35a4784ed7a453bf80a..85ad9a8f7b08aa3f3ada7a7bff90703ceca67c1e 100644
|
| --- a/pkg/compiler/lib/src/resolution/send_resolver.dart
|
| +++ b/pkg/compiler/lib/src/resolution/send_resolver.dart
|
| @@ -36,7 +36,8 @@ abstract class SendResolverMixin {
|
| if (constructor.isMalformed) {
|
| if (constructor is ErroneousElement) {
|
| ErroneousElement error = constructor;
|
| - if (error.messageKind == MessageKind.CANNOT_FIND_CONSTRUCTOR) {
|
| + if (error.messageKind == MessageKind.CANNOT_FIND_CONSTRUCTOR ||
|
| + error.messageKind == MessageKind.CANNOT_FIND_UNNAMED_CONSTRUCTOR) {
|
| return new ConstructorAccessSemantics(
|
| ConstructorAccessKind.UNRESOLVED_CONSTRUCTOR, constructor, type);
|
| }
|
|
|