Index: pkg/kernel/lib/transformations/closure/converter.dart |
diff --git a/pkg/kernel/lib/transformations/closure/converter.dart b/pkg/kernel/lib/transformations/closure/converter.dart |
index a2a45e5c2e230a71771e93d1e6a036f57842f9b7..2f64971e0542daccbff2d2af1b5be1b8364ae758 100644 |
--- a/pkg/kernel/lib/transformations/closure/converter.dart |
+++ b/pkg/kernel/lib/transformations/closure/converter.dart |
@@ -266,7 +266,8 @@ class ClosureConverter extends Transformer { |
type: contextClass.rawType, |
isFinal: true); |
Context parent = context; |
- context = context.toNestedContext(new VariableAccessor(contextVariable)); |
+ context = context.toNestedContext( |
+ new VariableAccessor(contextVariable, null, TreeNode.noOffset)); |
Set<TypeParameter> captured = capturedTypeVariables[currentFunction]; |
if (captured != null) { |