Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1043)

Unified Diff: pkg/front_end/testcases/inference/constructors_infer_from_arguments_named_factory.dart

Issue 2868133002: Fix annotation of promoted parameters in Fasta inference tests. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/testcases/inference/constructors_infer_from_arguments_named_factory.dart
diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_named_factory.dart b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_named_factory.dart
index 204baeac0cd742b2399444df9fc53aa58a482faa..3a8e09aad818078c6d4a20e023e8ac9931a9f293 100644
--- a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_named_factory.dart
+++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_named_factory.dart
@@ -11,7 +11,7 @@ class C<T> {
factory C.named(T t) {
var /*@type=C<T>*/ x = new C<T>();
- /*@promotedType=none*/ x.t = t;
+ /*@promotedType=none*/ x.t = /*@promotedType=none*/ t;
return /*@promotedType=none*/ x;
}
}

Powered by Google App Engine
This is Rietveld 408576698