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

Unified Diff: pkg/front_end/testcases/inference/unsafe_block_closure_inference_in_map_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
« no previous file with comments | « pkg/front_end/testcases/inference/unsafe_block_closure_inference_in_list_typed.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/unsafe_block_closure_inference_in_map_typed.dart
diff --git a/pkg/front_end/testcases/inference/unsafe_block_closure_inference_in_map_typed.dart b/pkg/front_end/testcases/inference/unsafe_block_closure_inference_in_map_typed.dart
index bffc115aefe120181b67d2834e0e1d979a6c11bd..26541f8bce38ff35b9d4012c0cf1272c85ed6eea 100644
--- a/pkg/front_end/testcases/inference/unsafe_block_closure_inference_in_map_typed.dart
+++ b/pkg/front_end/testcases/inference/unsafe_block_closure_inference_in_map_typed.dart
@@ -7,7 +7,7 @@ library test;
typedef int F();
main() {
- var /*@type=Map<int, F() -> int>*/ v = <int, F>{
+ var /*@type=Map<int, () -> int>*/ v = <int, F>{
1: /*@returnType=int*/ () {
return 1;
}
« no previous file with comments | « pkg/front_end/testcases/inference/unsafe_block_closure_inference_in_list_typed.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698