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

Unified Diff: pkg/front_end/testcases/inference/void_return_type_subtypes_dynamic.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
« no previous file with comments | « pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_implicit_type_param.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/testcases/inference/void_return_type_subtypes_dynamic.dart
diff --git a/pkg/front_end/testcases/inference/void_return_type_subtypes_dynamic.dart b/pkg/front_end/testcases/inference/void_return_type_subtypes_dynamic.dart
index eab03336a278fc2a536ce04c84c51bb731ccc7f2..b539c825136efc3eac0896002397d53520df016f 100644
--- a/pkg/front_end/testcases/inference/void_return_type_subtypes_dynamic.dart
+++ b/pkg/front_end/testcases/inference/void_return_type_subtypes_dynamic.dart
@@ -7,9 +7,9 @@ library test;
T run<T>(T f()) {
print("running");
- var /*@type=T*/ t = /*@promotedType=none*/ f();
+ var /*@type=T*/ t = f();
print("done running");
- return /*@promotedType=none*/ t;
+ return t;
}
void printRunning() {
« no previous file with comments | « pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_implicit_type_param.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698