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

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

Issue 2865403007: Get rid of promotedType=none annotations (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/future_or_subtyping.dart
diff --git a/pkg/front_end/testcases/inference/future_or_subtyping.dart b/pkg/front_end/testcases/inference/future_or_subtyping.dart
index 2b21a73ce550c9271d550f622b6e742bebed33f2..e135a1cc98c127d949c2093f867e483b9b2a39f2 100644
--- a/pkg/front_end/testcases/inference/future_or_subtyping.dart
+++ b/pkg/front_end/testcases/inference/future_or_subtyping.dart
@@ -11,8 +11,8 @@ void add(int x) {}
add2(int y) {}
main() {
Future<int> f;
- var /*@type=Future<void>*/ a = /*@promotedType=none*/ f
- . /*@typeArgs=void*/ /*@target=Future::then*/ then(add);
- var /*@type=Future<dynamic>*/ b = /*@promotedType=none*/ f
- . /*@typeArgs=dynamic*/ /*@target=Future::then*/ then(add2);
+ var /*@type=Future<void>*/ a =
+ f. /*@typeArgs=void*/ /*@target=Future::then*/ then(add);
+ var /*@type=Future<dynamic>*/ b =
+ f. /*@typeArgs=dynamic*/ /*@target=Future::then*/ then(add2);
}

Powered by Google App Engine
This is Rietveld 408576698