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

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

Issue 2875103002: Exclude function name from function type annotations in front end type 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
Index: pkg/front_end/testcases/inference/unsafe_block_closure_inference_in_list_typed.dart
diff --git a/pkg/front_end/testcases/inference/unsafe_block_closure_inference_in_list_typed.dart b/pkg/front_end/testcases/inference/unsafe_block_closure_inference_in_list_typed.dart
index 4ebefc8a8e7807db1839807483ceb96e3fcc2d4d..fdf37fcf807220ff6bacd455b4fad7c179a8d103 100644
--- a/pkg/front_end/testcases/inference/unsafe_block_closure_inference_in_list_typed.dart
+++ b/pkg/front_end/testcases/inference/unsafe_block_closure_inference_in_list_typed.dart
@@ -7,7 +7,7 @@ library test;
typedef int F();
main() {
- var /*@type=List<F() -> int>*/ v = <F>[
+ var /*@type=List<() -> int>*/ v = <F>[
/*@returnType=int*/ () {
return 1;
}

Powered by Google App Engine
This is Rietveld 408576698