Chromium Code Reviews| Index: pkg/compiler/lib/src/inferrer/closure_tracer.dart |
| diff --git a/pkg/compiler/lib/src/inferrer/closure_tracer.dart b/pkg/compiler/lib/src/inferrer/closure_tracer.dart |
| index a757a7b89f4e98ac28e9cfb7ce47b027b895e6a5..ddbdf9f703471ec486d85b416bcc6f2dbe536332 100644 |
| --- a/pkg/compiler/lib/src/inferrer/closure_tracer.dart |
| +++ b/pkg/compiler/lib/src/inferrer/closure_tracer.dart |
| @@ -49,7 +49,9 @@ class ClosureTracerVisitor extends TracerVisitor<ApplyableTypeInformation> { |
| Selector selector = info.selector; |
| TypeMask mask = info.mask; |
| tracedElements.forEach((FunctionElement functionElement) { |
| - if (!selector.signatureApplies(functionElement)) return; |
| + if (!selector.callStructure.signatureApplies(functionElement.functionSignature)) { |
|
Siggi Cherem (dart-lang)
2017/01/06 20:49:43
dartfmt
Johnni Winther
2017/01/09 09:55:11
Done.
|
| + return; |
| + } |
| inferrer.updateParameterAssignments( |
| info, functionElement, info.arguments, selector, mask, |
| remove: false, addToQueue: false); |