| Index: pkg/compiler/lib/src/inferrer/type_system.dart
|
| diff --git a/pkg/compiler/lib/src/inferrer/type_system.dart b/pkg/compiler/lib/src/inferrer/type_system.dart
|
| index 43069e5ec998160dbbead9e01b02e21174c92afe..56c9aed2da215d1b10c84eec51e937b655b79d1f 100644
|
| --- a/pkg/compiler/lib/src/inferrer/type_system.dart
|
| +++ b/pkg/compiler/lib/src/inferrer/type_system.dart
|
| @@ -505,9 +505,8 @@ class TypeSystem {
|
| /// Creates a [TypeInformation] object either for the closurization of a
|
| /// static or top-level method [element] used as a function constant or for
|
| /// the synthesized 'call' method [element] created for a local function.
|
| - TypeInformation allocateClosure(ast.Node node, FunctionEntity element) {
|
| - TypeInformation result =
|
| - new ClosureTypeInformation(currentMember, node, element);
|
| + TypeInformation allocateClosure(FunctionEntity element) {
|
| + TypeInformation result = new ClosureTypeInformation(currentMember, element);
|
| allocatedClosures.add(result);
|
| return result;
|
| }
|
|
|