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/front_end/testcases/inference/downwards_inference_annotations_type_variable_local.dart.direct.expect

Issue 2964013002: Implement type variables on generalized function types. (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/front_end/testcases/inference/downwards_inference_annotations_type_variable_local.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/downwards_inference_annotations_type_variable_local.dart.direct.expect b/pkg/front_end/testcases/inference/downwards_inference_annotations_type_variable_local.dart.direct.expect
index 4228ac9a4652060d68379a96061a8a5b59ee7552..4d24a7369600fb1320ed8c61af5433b62e23cc29 100644
--- a/pkg/front_end/testcases/inference/downwards_inference_annotations_type_variable_local.dart.direct.expect
+++ b/pkg/front_end/testcases/inference/downwards_inference_annotations_type_variable_local.dart.direct.expect
@@ -8,7 +8,7 @@ class Foo extends core::Object {
;
}
static method test() → void {
- function f() → void {}
- dynamic x = () → dynamic {};
+ function f<T extends core::Object>() → void {}
+ dynamic x = <T extends core::Object>() → dynamic {};
}
static method main() → dynamic {}

Powered by Google App Engine
This is Rietveld 408576698