Index: pkg/kernel/lib/transformations/closure/context.dart |
diff --git a/pkg/kernel/lib/transformations/closure/context.dart b/pkg/kernel/lib/transformations/closure/context.dart |
index 904ac560785ce95a3acfac424f2cb5aa8130259e..358ff730b4e65b4f9c974c1627ca77e8b6bd97ea 100644 |
--- a/pkg/kernel/lib/transformations/closure/context.dart |
+++ b/pkg/kernel/lib/transformations/closure/context.dart |
@@ -16,6 +16,7 @@ import '../../ast.dart' |
PropertyGet, |
StringLiteral, |
Throw, |
+ TreeNode, |
VariableDeclaration, |
VariableGet, |
VariableSet; |
@@ -127,7 +128,7 @@ class LocalContext extends Context { |
Expression get expression => accessor.buildSimpleRead(); |
- Accessor get accessor => new VariableAccessor(self); |
+ Accessor get accessor => new VariableAccessor(self, null, TreeNode.noOffset); |
void extend(VariableDeclaration variable, Expression value) { |
Arguments arguments = |