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

Unified Diff: pkg/front_end/testcases/inference/constructors_inference_f_bounded.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_inference_f_bounded.dart
diff --git a/pkg/front_end/testcases/inference/constructors_inference_f_bounded.dart b/pkg/front_end/testcases/inference/constructors_inference_f_bounded.dart
index b4a7f5a9fbcf38d5e2e14ea99ab5fb3b97dcc9c0..8f0d7da92d32bc2e21f795668feb743c52d98efb 100644
--- a/pkg/front_end/testcases/inference/constructors_inference_f_bounded.dart
+++ b/pkg/front_end/testcases/inference/constructors_inference_f_bounded.dart
@@ -12,7 +12,9 @@ class Pair<T extends Clonable<T>, U extends Clonable<U>> {
U u;
Pair(this.t, this.u);
Pair._();
- 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