Index: pkg/kernel/testcases/closures/named_closure.dart.expect |
diff --git a/pkg/kernel/testcases/closures/named_closure.dart.expect b/pkg/kernel/testcases/closures/named_closure.dart.expect |
index 0fe4e5cc4143ecaec1a77f69742141c5cdc34315..7fe9b5d527b95ff81e728c4464a148e2ca991479 100644 |
--- a/pkg/kernel/testcases/closures/named_closure.dart.expect |
+++ b/pkg/kernel/testcases/closures/named_closure.dart.expect |
@@ -7,12 +7,12 @@ static method foo() → dynamic { |
core::print(self::f.call(0)); |
} |
static method main(dynamic arguments) → dynamic { |
- final Vector #context = MakeVector(2); |
- #context[1] = arguments; |
+ final Vector #context = MakeVector(3); |
+ #context[2] = arguments; |
final (dynamic) → dynamic g = MakeClosure<(dynamic) → dynamic>(self::closure#main#g, #context); |
self::f = g; |
self::foo(); |
} |
static method closure#main#g(Vector #contextParameter, dynamic x) → dynamic { |
- return (#contextParameter[1]).[](x); |
+ return (#contextParameter[2]).[](x); |
} |