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

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

Issue 2935223003: Update expectations for closure conversion tests (Closed)
Patch Set: Created 3 years, 6 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_constructor.dart.expect
diff --git a/pkg/kernel/testcases/closures/closure_in_constructor.dart.expect b/pkg/kernel/testcases/closures/closure_in_constructor.dart.expect
index 1a630caa12c1d43ac2938b35d535e40c3a9fa119..cba5c8302ab79490b4e478cd9be21e76c948e0e5 100644
--- a/pkg/kernel/testcases/closures/closure_in_constructor.dart.expect
+++ b/pkg/kernel/testcases/closures/closure_in_constructor.dart.expect
@@ -14,7 +14,7 @@ class C2 extends core::Object {
: super core::Object::•() {
final Vector #context = MakeVector(2);
#context[1] = y;
- this.x = MakeClosure<() → dynamic>(self::closure#C2#function#function, #context);
+ this.x = MakeClosure<() → void>(self::closure#C2#function#function, #context);
}
}
static method main() → dynamic {
@@ -24,6 +24,6 @@ static method main() → dynamic {
static method closure#C1##function(Vector #contextParameter) → dynamic {
return core::print("Hello ${#contextParameter[1]}");
}
-static method closure#C2#function#function(Vector #contextParameter) → dynamic {
+static method closure#C2#function#function(Vector #contextParameter) → void {
return core::print("Hello ${#contextParameter[1]}");
}

Powered by Google App Engine
This is Rietveld 408576698