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

Unified Diff: pkg/front_end/testcases/inference/constructors_infer_from_arguments_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_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 1dcf37735aa7fd238841dda463fe33190aab0b4e..b7d349c56bfa6ef67843982a05fcac9c3ff97ff5 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,7 +12,7 @@ class C<T> {
factory C(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