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

Unified Diff: pkg/front_end/testcases/inference/generic_functions_return_typedef.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/generic_functions_return_typedef.dart
diff --git a/pkg/front_end/testcases/inference/generic_functions_return_typedef.dart b/pkg/front_end/testcases/inference/generic_functions_return_typedef.dart
index b8a184d601da5552a920d72d3f598a22ab0bdcc6..60cf28c7ea3b9c21d120f1e0725f0994817853aa 100644
--- a/pkg/front_end/testcases/inference/generic_functions_return_typedef.dart
+++ b/pkg/front_end/testcases/inference/generic_functions_return_typedef.dart
@@ -11,6 +11,6 @@ main() {
ToValue<T> f<T>(T x) => null;
var /*@type=<int>(int) -> void*/ x = f<int>(42);
var /*@type=<int>(int) -> void*/ y = /*@typeArgs=int*/ f(42);
- ToValue<int> takesInt = /*@promotedType=none*/ x;
- takesInt = /*@promotedType=none*/ y;
+ ToValue<int> takesInt = x;
+ takesInt = y;
}

Powered by Google App Engine
This is Rietveld 408576698