Index: pkg/kernel/testcases/closures/uncaptured_for_in_loop.dart.expect |
diff --git a/pkg/kernel/testcases/closures/uncaptured_for_in_loop.dart.expect b/pkg/kernel/testcases/closures/uncaptured_for_in_loop.dart.expect |
index 1f652f3e86e795079b62e0443734a19fb9578a28..3a044c89aa3f49ce2d9cc6664b6417f762d26071 100644 |
--- a/pkg/kernel/testcases/closures/uncaptured_for_in_loop.dart.expect |
+++ b/pkg/kernel/testcases/closures/uncaptured_for_in_loop.dart.expect |
@@ -6,8 +6,8 @@ static const field dynamic numbers = const <core::int>[0, 1, 2, 3, 4, 5, 6, 7, 8 |
static method main() → dynamic { |
dynamic closures = <dynamic>[]; |
for (core::int i in self::numbers) { |
- final Vector #context = MakeVector(2); |
- #context[1] = i; |
+ final Vector #context = MakeVector(3); |
+ #context[2] = i; |
closures.add(MakeClosure<() → dynamic>(self::closure#main#function, #context)); |
} |
core::int sum = 0; |
@@ -20,5 +20,5 @@ static method main() → dynamic { |
} |
} |
static method closure#main#function(Vector #contextParameter) → dynamic { |
- return #contextParameter[1]; |
+ return #contextParameter[2]; |
} |