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

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

Issue 2998803002: [kernel] Support for top-level generic functions. (Closed)
Patch Set: Review comments. Created 3 years, 4 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_closure.dart.expect
diff --git a/pkg/kernel/testcases/closures/capture_closure.dart.expect b/pkg/kernel/testcases/closures/capture_closure.dart.expect
index 77971e04b7308c0353caba1524c18c58a7ea2344..c18b1da7308d817a37ed381a48a16dcd29b9dea8 100644
--- a/pkg/kernel/testcases/closures/capture_closure.dart.expect
+++ b/pkg/kernel/testcases/closures/capture_closure.dart.expect
@@ -2,8 +2,8 @@ library;
import self as self;
static method main(dynamic arguments) → dynamic {
- final Vector #context = MakeVector(2);
- #context[1] = MakeClosure<() → dynamic>(self::closure#main#f, #context);
+ final Vector #context = MakeVector(3);
+ #context[2] = MakeClosure<() → dynamic>(self::closure#main#f, #context);
final () → dynamic g = MakeClosure<() → dynamic>(self::closure#main#g, #context);
g.call();
}
@@ -11,5 +11,5 @@ static method closure#main#f(Vector #contextParameter) → dynamic {
return null;
}
static method closure#main#g(Vector #contextParameter) → dynamic {
- return (#contextParameter[1]).call();
+ return (#contextParameter[2]).call();
}

Powered by Google App Engine
This is Rietveld 408576698