| Index: pkg/compiler/lib/src/resolution/class_hierarchy.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/class_hierarchy.dart b/pkg/compiler/lib/src/resolution/class_hierarchy.dart
|
| index a6fb8c4fd98c538a2be78a774076c1c26d91c3cb..1c3dc8e604b81e26c880954578237e2d8a1bd023 100644
|
| --- a/pkg/compiler/lib/src/resolution/class_hierarchy.dart
|
| +++ b/pkg/compiler/lib/src/resolution/class_hierarchy.dart
|
| @@ -27,6 +27,7 @@ import '../util/util.dart' show
|
| Link,
|
| Setlet;
|
| import '../universe/universe.dart' show
|
| + CallStructure,
|
| Selector;
|
|
|
| import 'enum_creator.dart';
|
| @@ -201,9 +202,9 @@ class ClassResolverVisitor extends TypeDefinitionVisitor {
|
| registry.registerThrowNoSuchMethod();
|
| } else {
|
| ConstructorElement superConstructor = superMember;
|
| - Selector callToMatch = new Selector.call(const PublicName(''), 0);
|
| superConstructor.computeType(compiler);
|
| - if (!callToMatch.applies(superConstructor, compiler.world)) {
|
| + if (!CallStructure.NO_ARGS.signatureApplies(
|
| + superConstructor.functionSignature)) {
|
| MessageKind kind = MessageKind.NO_MATCHING_CONSTRUCTOR_FOR_IMPLICIT;
|
| compiler.reportError(node, kind);
|
| superMember = new ErroneousElementX(kind, {}, '', element);
|
|
|