Index: pkg/compiler/lib/src/inferrer/builder.dart |
diff --git a/pkg/compiler/lib/src/inferrer/builder.dart b/pkg/compiler/lib/src/inferrer/builder.dart |
index 1eb74169fbcf96f2ea7a68ef43d0d0134e337739..519524c81e29f663ea84a0452cde8d48b18ece35 100644 |
--- a/pkg/compiler/lib/src/inferrer/builder.dart |
+++ b/pkg/compiler/lib/src/inferrer/builder.dart |
@@ -2324,7 +2324,8 @@ class ElementGraphBuilder extends ast.Visitor<TypeInformation> |
// In erroneous code the number of arguments in the selector might not |
// match the function element. |
// TODO(polux): return nonNullEmpty and check it doesn'TypeInformation break anything |
- if (target.isMalformed || !callStructure.signatureApplies(target.type)) { |
+ if (target.isMalformed || |
+ !callStructure.signatureApplies(target.parameterStructure)) { |
return types.dynamicType; |
} |