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

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

Issue 2933663002: Annotate targets of implicit this property gets/sets in inference tests. (Closed)
Patch Set: Created 3 years, 6 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_reverse_type_parameters.dart
diff --git a/pkg/front_end/testcases/inference/constructors_reverse_type_parameters.dart b/pkg/front_end/testcases/inference/constructors_reverse_type_parameters.dart
index f21998b6822b72bed9bfd7ef779b0bc656f0dadb..6de0915749571e2e334eb91b23820a36511af3b8 100644
--- a/pkg/front_end/testcases/inference/constructors_reverse_type_parameters.dart
+++ b/pkg/front_end/testcases/inference/constructors_reverse_type_parameters.dart
@@ -9,7 +9,9 @@ class Pair<T, U> {
T t;
U u;
Pair(this.t, this.u);
- Pair<U, T> get reversed => new /*@typeArgs=Pair::U, Pair::T*/ Pair(u, t);
+ Pair<U, T> get reversed => new /*@typeArgs=Pair::U, Pair::T*/ Pair(
+ /*@target=Pair::u*/ u,
+ /*@target=Pair::t*/ t);
}
main() {}

Powered by Google App Engine
This is Rietveld 408576698