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 8660a56a8faf98d5116ab31de9408c415ab71058..0948adc69f85d83c2cd889da7eee70b3ecd83305 100644 |
--- a/pkg/kernel/testcases/closures/type_variables.dart.expect |
+++ b/pkg/kernel/testcases/closures/type_variables.dart.expect |
@@ -15,10 +15,10 @@ 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<() → dynamic>(self::closure#C#baz#function, null); |
+ return MakeClosure<() → () → self::C<dynamic, dynamic>>(self::closure#C#baz#function, null); |
} |
- static factory •<T extends core::Object, S extends core::Object>() → dynamic { |
- final dynamic local = MakeClosure<() → dynamic>(self::closure#C#function#local, 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); |
return local.call(); |
} |
} |
@@ -28,7 +28,7 @@ static method main(dynamic arguments) → dynamic { |
if(!(c is self::C<core::int, core::int>)) |
throw "${c} fails type test 'is C<int, int>'"; |
if(c is self::C<core::String, core::String>) { |
- throw "${c} passes type test 'is C<String, String>'"; |
+ throw "${c{self::C<core::String, core::String>}} passes type test 'is C<String, String>'"; |
} |
core::print(c); |
} |
@@ -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) → dynamic { |
+static method closure#C#baz#function#function(Vector #contextParameter) → self::C<dynamic, dynamic> { |
return self::C::•<dynamic, dynamic>(); |
} |
-static method closure#C#baz#function(Vector #contextParameter) → dynamic { |
- return MakeClosure<() → dynamic>(self::closure#C#baz#function#function, #contextParameter); |
+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#function#local(Vector #contextParameter) → dynamic { |
self::C<dynamic, dynamic> self = new self::C::internal<dynamic, dynamic>(); |