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

Unified Diff: pkg/kernel/testcases/closures/closure_in_initializer.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/closure_in_initializer.dart.expect
diff --git a/pkg/kernel/testcases/closures/closure_in_initializer.dart.expect b/pkg/kernel/testcases/closures/closure_in_initializer.dart.expect
index f92bacc3d4d9420ea54c732de8e0e4f1135465f1..4c6dd6b9f61abb7420280dd6ac9539091421c2a8 100644
--- a/pkg/kernel/testcases/closures/closure_in_initializer.dart.expect
+++ b/pkg/kernel/testcases/closures/closure_in_initializer.dart.expect
@@ -8,7 +8,6 @@ class C extends core::Object {
constructor foo(dynamic f) → void
: self::C::t = let final mock::Context #context = new mock::Context::•(1) in let dynamic #t1 = #context.[]=(0, f) in new self::Closure#C#foo#function::•(#context), super core::Object::•() {
final mock::Context #context = new mock::Context::•(1);
- #context.parent = null;
#context.[]=(0, f);
core::print(1);
}

Powered by Google App Engine
This is Rietveld 408576698