| Index: pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart
|
| diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart b/pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart
|
| index 495df4cea9d6083d426da2b9f993fab0a69ba4d5..bec61c988152e23f95dffc15ad8955882fe4ecec 100644
|
| --- a/pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart
|
| +++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart
|
| @@ -19,9 +19,9 @@ main() {
|
|
|
| // These hints are not reported because we resolve with a null error listener.
|
| C<num> c_num = new /*@typeArgs=num*/ C(123);
|
| - C<num> c_num2 = (new /*@typeArgs=num*/ C(456))..t = 1.0;
|
| + C<num> c_num2 = (new /*@typeArgs=num*/ C(456)).. /*@target=C::t*/ t = 1.0;
|
|
|
| // Down't infer from explicit dynamic.
|
| var /*@type=C<dynamic>*/ c_dynamic = new C<dynamic>(42);
|
| - x.t = /*error:INVALID_ASSIGNMENT*/ 'hello';
|
| + x. /*@target=C::t*/ t = /*error:INVALID_ASSIGNMENT*/ 'hello';
|
| }
|
|
|