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 1e2f9a69a1213a713666ce93937901742552ea0b..28b4497eda8a646077ed946fe6087ea403761d1e 100644 |
--- a/pkg/compiler/lib/src/inferrer/builder_kernel.dart |
+++ b/pkg/compiler/lib/src/inferrer/builder_kernel.dart |
@@ -103,8 +103,8 @@ class KernelTypeGraphBuilder extends ir.Visitor<TypeInformation> { |
// be handled specially, in that we are computing their LUB at |
// each update, and reading them yields the type that was found in a |
// previous analysis of [outermostElement]. |
- ClosureClassMap closureData = compiler.closureToClassMapper |
- .getClosureToClassMapping(resolvedAst.element); |
+ ClosureRepresentationInfo closureData = compiler.closureToClassMapper |
+ .getClosureRepresentationInfo(resolvedAst.element); |
closureData.forEachCapturedVariable((variable, field) { |
locals.setCaptured(variable, field); |
}); |