Index: pkg/kernel/testcases/closures/closures.dart.expect |
diff --git a/pkg/kernel/testcases/closures/closures.dart.expect b/pkg/kernel/testcases/closures/closures.dart.expect |
index f0138a994b9c8e3ef4b9846b3288c02c5f2b790e..ebfad37eb3584744f7fe5f2f375fc0ed400f1046 100644 |
--- a/pkg/kernel/testcases/closures/closures.dart.expect |
+++ b/pkg/kernel/testcases/closures/closures.dart.expect |
@@ -7,11 +7,11 @@ 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; |
self::f = MakeClosure<(dynamic) → dynamic>(self::closure#main#function, #context); |
self::foo(); |
} |
static method closure#main#function(Vector #contextParameter, dynamic x) → dynamic { |
- return (#contextParameter[1]).[](x); |
+ return (#contextParameter[2]).[](x); |
} |