| 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 ae3c1c62ad0da8aafb68435c9941e77a76afd0f7..add6babf74a74fbf539fbd3978dcf5fe415eb628 100644
|
| --- a/pkg/compiler/lib/src/inferrer/builder.dart
|
| +++ b/pkg/compiler/lib/src/inferrer/builder.dart
|
| @@ -2316,8 +2316,7 @@ 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.functionSignature)) {
|
| + if (target.isMalformed || !callStructure.signatureApplies(target.type)) {
|
| return types.dynamicType;
|
| }
|
|
|
|
|