| Index: pkg/compiler/lib/src/inferrer/builder_kernel.dart
|
| diff --git a/pkg/compiler/lib/src/inferrer/builder_kernel.dart b/pkg/compiler/lib/src/inferrer/builder_kernel.dart
|
| index 24a9ddcdeab56688d00908c6d09df1d039ff599e..1dfd81336aceb8fd50f74f53874737823525a867 100644
|
| --- a/pkg/compiler/lib/src/inferrer/builder_kernel.dart
|
| +++ b/pkg/compiler/lib/src/inferrer/builder_kernel.dart
|
| @@ -106,7 +106,7 @@ class KernelTypeGraphBuilder extends ir.Visitor<TypeInformation> {
|
| // previous analysis of [outermostElement].
|
| ClosureRepresentationInfo closureData = compiler
|
| .backendStrategy.closureDataLookup
|
| - .getClosureRepresentationInfo(resolvedAst.element);
|
| + .getMemberRepresentationInfo(outermostElement);
|
| closureData.forEachCapturedVariable((variable, field) {
|
| locals.setCaptured(variable, field);
|
| });
|
|
|