| Index: pkg/front_end/testcases/inference/subexpressions_of_explicitly_typed_fields.dart
|
| diff --git a/pkg/front_end/testcases/inference/subexpressions_of_explicitly_typed_fields.dart b/pkg/front_end/testcases/inference/subexpressions_of_explicitly_typed_fields.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..38ba514bb881404bfd8625a4fc61331b43b96144
|
| --- /dev/null
|
| +++ b/pkg/front_end/testcases/inference/subexpressions_of_explicitly_typed_fields.dart
|
| @@ -0,0 +1,14 @@
|
| +// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +/*@testedFeatures=inference*/
|
| +library test;
|
| +
|
| +class C {
|
| + List<num> x = /*@typeArgs=num*/ [0];
|
| +}
|
| +
|
| +List<num> y = /*@typeArgs=num*/ [0];
|
| +
|
| +main() {}
|
|
|