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

Unified Diff: pkg/front_end/testcases/inference/downwards_inference_on_function_of_t_using_the_t.dart.direct.expect

Issue 2994973002: Implement type variables on local function declarations and expressions. (Closed)
Patch Set: Update expectation files after adding copyright. 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/front_end/testcases/inference/downwards_inference_on_function_of_t_using_the_t.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/downwards_inference_on_function_of_t_using_the_t.dart.direct.expect b/pkg/front_end/testcases/inference/downwards_inference_on_function_of_t_using_the_t.dart.direct.expect
index a80d1b4cbd3e1eae458ef17678cd537eee50e648..5ffe78d44658c63f0d56b3f1be5231bbedcc5d38 100644
--- a/pkg/front_end/testcases/inference/downwards_inference_on_function_of_t_using_the_t.dart.direct.expect
+++ b/pkg/front_end/testcases/inference/downwards_inference_on_function_of_t_using_the_t.dart.direct.expect
@@ -4,13 +4,13 @@ import "dart:core" as core;
static method main() → void {
{
- function f<T extends core::Object>(invalid-type x) → invalid-type
+ function f<T extends core::Object>(T x) → T
return null;
dynamic v1 = f;
v1 = <S extends core::Object>(dynamic x) → dynamic => x;
}
{
- function f<T extends core::Object>(invalid-type x) → core::List<invalid-type>
+ function f<T extends core::Object>(T x) → core::List<T>
return null;
dynamic v2 = f;
v2 = <S extends core::Object>(dynamic x) → dynamic => <dynamic>[x];

Powered by Google App Engine
This is Rietveld 408576698