| Index: pkg/front_end/testcases/inference/downwards_inference_annotations_type_variable_local.dart
|
| diff --git a/pkg/front_end/testcases/inference/downwards_inference_annotations.dart b/pkg/front_end/testcases/inference/downwards_inference_annotations_type_variable_local.dart
|
| similarity index 62%
|
| copy from pkg/front_end/testcases/inference/downwards_inference_annotations.dart
|
| copy to pkg/front_end/testcases/inference/downwards_inference_annotations_type_variable_local.dart
|
| index fd31916c8fdba60cc4e6fb865ba35525d4a952b5..cd5fe2c5c32f5f69fea0fab7742e56a0e394b85d 100644
|
| --- a/pkg/front_end/testcases/inference/downwards_inference_annotations.dart
|
| +++ b/pkg/front_end/testcases/inference/downwards_inference_annotations_type_variable_local.dart
|
| @@ -7,11 +7,12 @@ library test;
|
|
|
| class Foo {
|
| const Foo(List<String> l);
|
| - const Foo.named(List<String> l);
|
| }
|
|
|
| -@Foo(/*@typeArgs=String*/ const [])
|
| -class Bar {}
|
| +void test() {
|
| + void f<@Foo(/*@typeArgs=String*/ const []) T>() {}
|
| + var /*@type=() -> Null*/ x =
|
| + <@Foo(/*@typeArgs=String*/ const []) T> /*@returnType=Null*/ () {};
|
| +}
|
|
|
| -@Foo.named(/*@typeArgs=String*/ const [])
|
| -class Baz {}
|
| +main() {}
|
|
|