| 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 75547da496dc779ee7908395b4493269eeebee09..c03ba93aa5c47d702ecce32e6e5ee825011c52ff 100644
 | 
| --- a/pkg/compiler/lib/src/ssa/builder_kernel.dart
 | 
| +++ b/pkg/compiler/lib/src/ssa/builder_kernel.dart
 | 
| @@ -401,8 +401,8 @@ class KernelSsaGraphBuilder extends ir.Visitor
 | 
|        // box to the constructor.
 | 
|        CapturedScope scopeData =
 | 
|            closureDataLookup.getCapturedScope(constructorElement);
 | 
| -      if (scopeData.requiresContextBox) {
 | 
| -        bodyCallInputs.add(localsHandler.readLocal(scopeData.context));
 | 
| +      if (scopeData.hasBox) {
 | 
| +        bodyCallInputs.add(localsHandler.readLocal(scopeData.box));
 | 
|        }
 | 
|  
 | 
|        // Pass type arguments.
 | 
| 
 |