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

Unified Diff: pkg/kernel/testcases/closures/capture_this.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/capture_this.dart.expect
diff --git a/pkg/kernel/testcases/closures/capture_this.dart.expect b/pkg/kernel/testcases/closures/capture_this.dart.expect
index 442f00a28931f5c45badf402658f2ec386b8892d..12e9721b1cf8a8ec6a0766ab961982f651fd6e15 100644
--- a/pkg/kernel/testcases/closures/capture_this.dart.expect
+++ b/pkg/kernel/testcases/closures/capture_this.dart.expect
@@ -10,13 +10,11 @@ class C extends core::Object {
;
method m() → dynamic {
final mock::Context #context = new mock::Context::•(1);
- #context.parent = null;
#context.[]=(0, this);
return new self::Closure#C#m#function::•(#context);
}
method f() → dynamic {
final mock::Context #context = new mock::Context::•(1);
- #context.parent = null;
#context.[]=(0, this);
return new self::Closure#C#f#function::•(#context);
}
« no previous file with comments | « pkg/kernel/testcases/closures/capture_closure.dart.expect ('k') | pkg/kernel/testcases/closures/catch.dart.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698