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

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

Issue 2866363004: Fix annotation of generic method invocations in Fasta inference tests (again). (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_explicit_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 d7566b75b9bbad5aa171382078a33fb9d8f590dc..eab03336a278fc2a536ce04c84c51bb731ccc7f2 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
@@ -16,7 +16,7 @@ void printRunning() {
print("running");
}
-var /*@topType=dynamic*/ x = /*@typeArgs=dynamic*/ run<dynamic>(printRunning);
+var /*@topType=dynamic*/ x = run<dynamic>(printRunning);
var /*@topType=dynamic*/ y = /*info:USE_OF_VOID_RESULT, error:TOP_LEVEL_TYPE_ARGUMENTS*/ /*@typeArgs=void*/ run(
printRunning);
@@ -25,7 +25,7 @@ main() {
print("running");
}
- var /*@type=dynamic*/ x = /*@typeArgs=dynamic*/ run<dynamic>(printRunning);
+ var /*@type=dynamic*/ x = run<dynamic>(printRunning);
var /*@type=void*/ y = /*info:USE_OF_VOID_RESULT*/ /*@typeArgs=void*/ run(
printRunning);
x = 123;
« no previous file with comments | « pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_explicit_type_param.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698