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

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

Issue 2891053003: Add support for converted closures with explicit contexts to VM (Closed)
Patch Set: Temporarily disable Run step in closures test suite Created 3 years, 5 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/type_variables.dart.expect
diff --git a/pkg/kernel/testcases/closures/type_variables.dart.expect b/pkg/kernel/testcases/closures/type_variables.dart.expect
index 0948adc69f85d83c2cd889da7eee70b3ecd83305..53170a283d2b53683cbfac324750efaca0be68fb 100644
--- a/pkg/kernel/testcases/closures/type_variables.dart.expect
+++ b/pkg/kernel/testcases/closures/type_variables.dart.expect
@@ -15,7 +15,7 @@ class C<T extends core::Object, S extends core::Object> extends core::Object {
self::C<self::C::T, self::C::S> self = this;
}
method baz() → dynamic {
- return MakeClosure<() → () → self::C<dynamic, dynamic>>(self::closure#C#baz#function, null);
+ return MakeClosure<() → dynamic>(self::closure#C#baz#function, null);
}
static factory •<T extends core::Object, S extends core::Object>() → self::C<self::C::•::T, self::C::•::S> {
final () → dynamic local = MakeClosure<() → dynamic>(self::closure#C#function#local, null);
@@ -38,11 +38,11 @@ static method closure#C#foo#function(Vector #contextParameter, dynamic x) → dy
self::C<dynamic, dynamic> self = #contextParameter[1];
return z as dynamic;
}
-static method closure#C#baz#function#function(Vector #contextParameter) → self::C<dynamic, dynamic> {
+static method closure#C#baz#function#function(Vector #contextParameter) → dynamic {
return self::C::•<dynamic, dynamic>();
}
-static method closure#C#baz#function(Vector #contextParameter) → () → self::C<dynamic, dynamic> {
- return MakeClosure<() → self::C<dynamic, dynamic>>(self::closure#C#baz#function#function, #contextParameter);
+static method closure#C#baz#function(Vector #contextParameter) → dynamic {
+ return MakeClosure<() → dynamic>(self::closure#C#baz#function#function, #contextParameter);
}
static method closure#C#function#local(Vector #contextParameter) → dynamic {
self::C<dynamic, dynamic> self = new self::C::internal<dynamic, dynamic>();

Powered by Google App Engine
This is Rietveld 408576698