| Index: pkg/front_end/testcases/inference/downwards_inference_annotations_parameter_local.dart
|
| diff --git a/pkg/front_end/testcases/inference/downwards_inference_annotations.dart b/pkg/front_end/testcases/inference/downwards_inference_annotations_parameter_local.dart
|
| similarity index 58%
|
| copy from pkg/front_end/testcases/inference/downwards_inference_annotations.dart
|
| copy to pkg/front_end/testcases/inference/downwards_inference_annotations_parameter_local.dart
|
| index fd31916c8fdba60cc4e6fb865ba35525d4a952b5..6cc32b381857e25c948701f45954874915786d36 100644
|
| --- a/pkg/front_end/testcases/inference/downwards_inference_annotations.dart
|
| +++ b/pkg/front_end/testcases/inference/downwards_inference_annotations_parameter_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 []) /*@type=dynamic*/ x) {}
|
| + var /*@type=(dynamic) -> Null*/ x = /*@returnType=Null*/ (/*@type=dynamic*/ @Foo(/*@typeArgs=String*/ const [])
|
| + x) {};
|
| +}
|
|
|
| -@Foo.named(/*@typeArgs=String*/ const [])
|
| -class Baz {}
|
| +main() {}
|
|
|