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

Unified Diff: pkg/kernel/testcases/closures/catch.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/catch.dart.expect
diff --git a/pkg/kernel/testcases/closures/catch.dart.expect b/pkg/kernel/testcases/closures/catch.dart.expect
index 1081d5b640ca72e4fccc5c5119c599a61dacb829..93b0f980e88e530432e29d23fe1319d5c5b6f64a 100644
--- a/pkg/kernel/testcases/closures/catch.dart.expect
+++ b/pkg/kernel/testcases/closures/catch.dart.expect
@@ -24,7 +24,6 @@ static method main() → dynamic {
}
on core::String catch(dynamic #t1, dynamic #t2) {
final mock::Context #context = new mock::Context::•(2);
- #context.parent = null;
#context.[]=(0, #t1);
#context.[]=(1, #t2);
c = new self::Closure#main#function::•(#context);

Powered by Google App Engine
This is Rietveld 408576698