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

Unified Diff: pkg/front_end/testcases/inference/downwards_inference_annotations_type_variable_local.dart

Issue 2965023002: Fix inference test expectations for generic function types. (Closed)
Patch Set: 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/front_end/testcases/inference/downwards_inference_annotations_type_variable_local.dart
diff --git a/pkg/front_end/testcases/inference/downwards_inference_annotations_type_variable_local.dart b/pkg/front_end/testcases/inference/downwards_inference_annotations_type_variable_local.dart
index cd5fe2c5c32f5f69fea0fab7742e56a0e394b85d..3ec0b43611efb6d627ad4d886f7c61a736665266 100644
--- a/pkg/front_end/testcases/inference/downwards_inference_annotations_type_variable_local.dart
+++ b/pkg/front_end/testcases/inference/downwards_inference_annotations_type_variable_local.dart
@@ -11,7 +11,7 @@ class Foo {
void test() {
void f<@Foo(/*@typeArgs=String*/ const []) T>() {}
- var /*@type=() -> Null*/ x =
+ var /*@type=<T extends Object>() -> Null*/ x =
<@Foo(/*@typeArgs=String*/ const []) T> /*@returnType=Null*/ () {};
}

Powered by Google App Engine
This is Rietveld 408576698