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

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

Issue 3007623002: Fix many bugs with closure conversion in checked mode. (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/non_void_context.dart.expect
diff --git a/pkg/kernel/testcases/closures/non_void_context.dart.expect b/pkg/kernel/testcases/closures/non_void_context.dart.expect
index e5a49ab668180af3bbcf789536ba39e5fa9ecfc5..7e1df316c1b3bf5a71c5344f3dbea3591c0b9ac7 100644
--- a/pkg/kernel/testcases/closures/non_void_context.dart.expect
+++ b/pkg/kernel/testcases/closures/non_void_context.dart.expect
@@ -3,7 +3,7 @@ import self as self;
static field dynamic v;
static method main(dynamic arguments) → dynamic {
- final Vector #context = MakeVector(3);
+ final dynamic #context = MakeVector(3);
#context[2] = null;
(MakeClosure<(dynamic) → dynamic>(self::closure#main#function, #context)).call(87);
if(!self::v.==(87)) {
@@ -21,10 +21,10 @@ static method main(dynamic arguments) → dynamic {
throw "Unexpected value in w: ${#context[2]}";
}
}
-static method closure#main#function(Vector #contextParameter, dynamic x) → dynamic {
+static method closure#main#function(dynamic #contextParameter, dynamic x) → dynamic {
return self::v = #contextParameter[2] = x;
}
-static method closure#main#function#1(Vector #contextParameter) → dynamic {
+static method closure#main#function#1(dynamic #contextParameter) → dynamic {
for (; #contextParameter[2] = self::v; ) {
self::v = false;
}
« no previous file with comments | « pkg/kernel/testcases/closures/named_closure.dart.expect ('k') | pkg/kernel/testcases/closures/syncstar.dart.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698