Index: pkg/compiler/lib/src/ssa/builder_kernel.dart |
diff --git a/pkg/compiler/lib/src/ssa/builder_kernel.dart b/pkg/compiler/lib/src/ssa/builder_kernel.dart |
index 699b4a7cb87856df07df123de80cc00a93d8bf15..9f5ac0ffe9a9f95e8358c163e13a7034f0d9572c 100644 |
--- a/pkg/compiler/lib/src/ssa/builder_kernel.dart |
+++ b/pkg/compiler/lib/src/ssa/builder_kernel.dart |
@@ -341,7 +341,7 @@ class KernelSsaBuilder extends ir.Visitor with GraphBuilder { |
// box to the constructor. |
ClosureAnalysisInfo scopeData = closureDataLookup |
.getClosureAnalysisInfo(constructorElement.resolvedAst.node); |
- if (scopeData.requiresContextBox()) { |
+ if (scopeData.requiresContextBox) { |
bodyCallInputs.add(localsHandler.readLocal(scopeData.context)); |
} |