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

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

Issue 2868133002: Fix annotation of promoted parameters in Fasta inference tests. (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 26ecda8ebb30f96e8917db56c73118eac9b48795..77f2fbcde7083bb5cd0b25a0da631d6059aac218 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,7 +7,7 @@ library test;
T run<T>(T f()) {
print("running");
- var /*@type=T*/ t = f();
+ var /*@type=T*/ t = /*@promotedType=none*/ f();
print("done running");
return /*@promotedType=none*/ t;
}
« 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