| 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 53a418ec090851fdcc15de25d5fab4588a8b6440..7fec7902813c3ed084543dc7eaf9ea119920c306 100644
|
| --- a/pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart
|
| +++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart
|
| @@ -11,15 +11,15 @@ class C<T> {
|
| }
|
|
|
| main() {
|
| - var /*@type=C<int>*/ x = /*@typeArgs=int*/ new C(42);
|
| + var /*@type=C<int>*/ x = new /*@typeArgs=int*/ C(42);
|
|
|
| num y;
|
| - C<int> c_int = /*@typeArgs=int*/ new C(
|
| + C<int> c_int = new /*@typeArgs=int*/ C(
|
| /*info:DOWN_CAST_IMPLICIT*/ /*@promotedType=none*/ y);
|
|
|
| // These hints are not reported because we resolve with a null error listener.
|
| - C<num> c_num = /*@typeArgs=num*/ new C(123);
|
| - C<num> c_num2 = (/*@typeArgs=num*/ new C(456))..t = 1.0;
|
| + C<num> c_num = new /*@typeArgs=num*/ C(123);
|
| + C<num> c_num2 = (new /*@typeArgs=num*/ C(456))..t = 1.0;
|
|
|
| // Down't infer from explicit dynamic.
|
| var /*@type=C<dynamic>*/ c_dynamic = new C<dynamic>(42);
|
|
|