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 be129c1b084f6a062a288d79387168df94075189..187f1db151def7c818abb4dea38ed7388da34442 100644 |
--- a/pkg/compiler/lib/src/universe/selector.dart |
+++ b/pkg/compiler/lib/src/universe/selector.dart |
@@ -243,8 +243,7 @@ class Selector { |
} |
bool signatureApplies(MethodElement function) { |
- if (Elements.isUnresolved(function)) return false; |
- return callStructure.signatureApplies(function.type); |
+ return callStructure.signatureApplies(function.parameterStructure); |
} |
bool applies(MemberElement element) { |