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

Unified Diff: pkg/kernel/testcases/closures/catch.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/catch.dart.expect
diff --git a/pkg/kernel/testcases/closures/catch.dart.expect b/pkg/kernel/testcases/closures/catch.dart.expect
index 04104173c9b33c83a5ca06713c417c547b21530e..572da8153a67da73e35c5a80227b8f6ffedfef77 100644
--- a/pkg/kernel/testcases/closures/catch.dart.expect
+++ b/pkg/kernel/testcases/closures/catch.dart.expect
@@ -8,7 +8,7 @@ static method main() → dynamic {
throw "Fisk";
}
on core::String catch(dynamic #t1, dynamic #t2) {
- final Vector #context = MakeVector(4);
+ final dynamic #context = MakeVector(4);
#context[2] = #t1;
#context[3] = #t2;
c = MakeClosure<() → dynamic>(self::closure#main#function, #context);
@@ -16,7 +16,7 @@ static method main() → dynamic {
c.call();
core::print("TEST PASSED");
}
-static method closure#main#function(Vector #contextParameter) → dynamic {
+static method closure#main#function(dynamic #contextParameter) → dynamic {
core::print(#contextParameter[2]);
if(!(#contextParameter[3]).==(null))
core::print(#contextParameter[3]);

Powered by Google App Engine
This is Rietveld 408576698