Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(761)

Unified Diff: pkg/kernel/testcases/closures/for_in_closure.dart.expect

Issue 2716573002: closure conversion: Do not set Context.parent if the value is `null` (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/kernel/testcases/closures/for_in_closure.dart.expect
diff --git a/pkg/kernel/testcases/closures/for_in_closure.dart.expect b/pkg/kernel/testcases/closures/for_in_closure.dart.expect
index d6c8ee0507885a13228a0afe31b88381c8a89bb9..a601c502a4094ee8f74f26b37f4ef130127b2b1d 100644
--- a/pkg/kernel/testcases/closures/for_in_closure.dart.expect
+++ b/pkg/kernel/testcases/closures/for_in_closure.dart.expect
@@ -20,7 +20,6 @@ static method main() → dynamic {
dynamic closures = <dynamic>[];
for (core::int i in self::numbers) {
final mock::Context #context = new mock::Context::•(1);
- #context.parent = null;
#context.[]=(0, i);
{
closures.add(new self::Closure#main#function::•(#context));
« no previous file with comments | « pkg/kernel/testcases/closures/closures.dart.expect ('k') | pkg/kernel/testcases/closures/for_loop.dart.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698