| Index: sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart (revision 31184)
|
| +++ sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart (working copy)
|
| @@ -636,7 +636,11 @@
|
| } else if (callee.isGetter()) {
|
| return;
|
| } else if (selector != null && selector.isGetter()) {
|
| - if (!remove) {
|
| + ElementTypeInformation info = types.getInferredTypeOf(callee);
|
| + if (remove) {
|
| + info.closurizedCount--;
|
| + } else {
|
| + info.closurizedCount++;
|
| FunctionElement function = callee.implementation;
|
| FunctionSignature signature = function.computeSignature(compiler);
|
| signature.forEachParameter((Element parameter) {
|
|
|