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 144dc8eb5295b46996fe0130298cdff65e6bd0b8..a6fb8c4fd98c538a2be78a774076c1c26d91c3cb 100644 |
--- a/pkg/compiler/lib/src/resolution/class_hierarchy.dart |
+++ b/pkg/compiler/lib/src/resolution/class_hierarchy.dart |
@@ -201,7 +201,7 @@ class ClassResolverVisitor extends TypeDefinitionVisitor { |
registry.registerThrowNoSuchMethod(); |
} else { |
ConstructorElement superConstructor = superMember; |
- Selector callToMatch = new Selector.call("", element.library, 0); |
+ Selector callToMatch = new Selector.call(const PublicName(''), 0); |
superConstructor.computeType(compiler); |
if (!callToMatch.applies(superConstructor, compiler.world)) { |
MessageKind kind = MessageKind.NO_MATCHING_CONSTRUCTOR_FOR_IMPLICIT; |