| Index: pkg/compiler/lib/src/js_model/js_strategy.dart
|
| diff --git a/pkg/compiler/lib/src/js_model/js_strategy.dart b/pkg/compiler/lib/src/js_model/js_strategy.dart
|
| index a3da9eddb215c08f0ed83923fef908be021970ad..7dc56fbbe8d3cbdd2c197752fb81dbc114885f3f 100644
|
| --- a/pkg/compiler/lib/src/js_model/js_strategy.dart
|
| +++ b/pkg/compiler/lib/src/js_model/js_strategy.dart
|
| @@ -387,12 +387,18 @@ class JsClosedWorld extends ClosedWorldBase with KernelClosedWorldMixin {
|
|
|
| /// Construct a closure class and set up the necessary class inference
|
| /// hierarchy.
|
| - KernelClosureClass buildClosureClass(String name, JLibrary enclosingLibrary,
|
| - KernelScopeInfo info, ir.Location location, KernelToLocalsMap localsMap) {
|
| + KernelClosureClass buildClosureClass(
|
| + MemberEntity member,
|
| + ir.FunctionNode originalClosureFunctionNode,
|
| + JLibrary enclosingLibrary,
|
| + KernelScopeInfo info,
|
| + ir.Location location,
|
| + KernelToLocalsMap localsMap) {
|
| ClassEntity superclass = commonElements.closureClass;
|
|
|
| KernelClosureClass cls = elementMap.constructClosureClass(
|
| - name,
|
| + member,
|
| + originalClosureFunctionNode,
|
| enclosingLibrary,
|
| info,
|
| location,
|
|
|