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