Index: pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory.dart |
diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory.dart b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory.dart |
index b520021cf1f1c18d48cd66f76ff76497a9d35ae0..814de30e495b29d91adcbbc9747c19e467e569c2 100644 |
--- a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory.dart |
+++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory.dart |
@@ -12,12 +12,12 @@ class C<T> { |
factory C(T t) { |
var /*@type=C<C::•::T>*/ x = new C<T>._(); |
- x.t = t; |
+ x. /*@target=C::t*/ t = t; |
return x; |
} |
} |
main() { |
var /*@type=C<int>*/ x = new /*@typeArgs=int*/ C(42); |
- x.t = /*error:INVALID_ASSIGNMENT*/ 'hello'; |
+ x. /*@target=C::t*/ t = /*error:INVALID_ASSIGNMENT*/ 'hello'; |
} |