| Index: pkg/compiler/lib/src/universe/selector.dart
|
| diff --git a/pkg/compiler/lib/src/universe/selector.dart b/pkg/compiler/lib/src/universe/selector.dart
|
| index 647c3fb39d7ad7fce70d39b8c8f76f8bba97fb0b..be129c1b084f6a062a288d79387168df94075189 100644
|
| --- a/pkg/compiler/lib/src/universe/selector.dart
|
| +++ b/pkg/compiler/lib/src/universe/selector.dart
|
| @@ -14,10 +14,9 @@ import '../elements/elements.dart'
|
| MemberElement,
|
| MethodElement,
|
| Name,
|
| - LibraryElement,
|
| PublicName;
|
| +import '../elements/entities.dart';
|
| import '../util/util.dart' show Hashing;
|
| -import '../common/resolution.dart' show Target;
|
| import 'call_structure.dart' show CallStructure;
|
|
|
| class SelectorKind {
|
| @@ -58,7 +57,7 @@ class Selector {
|
|
|
| String get name => memberName.text;
|
|
|
| - LibraryElement get library => memberName.library;
|
| + LibraryEntity get library => memberName.library;
|
|
|
| Selector.internal(
|
| this.kind, this.memberName, this.callStructure, this.hashCode) {
|
| @@ -245,7 +244,7 @@ class Selector {
|
|
|
| bool signatureApplies(MethodElement function) {
|
| if (Elements.isUnresolved(function)) return false;
|
| - return callStructure.signatureApplies(function.functionSignature);
|
| + return callStructure.signatureApplies(function.type);
|
| }
|
|
|
| bool applies(MemberElement element) {
|
|
|