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

Unified Diff: pkg/front_end/testcases/inference/inferred_type_is_typedef.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/inferred_type_is_typedef.dart
diff --git a/pkg/front_end/testcases/inference/inferred_type_is_typedef.dart b/pkg/front_end/testcases/inference/inferred_type_is_typedef.dart
index 701a5195a6c4bf6893730cd848071dfb03bf67e6..3e2e8ad9a9d060b073ee8ab9397e463b086cead1 100644
--- a/pkg/front_end/testcases/inference/inferred_type_is_typedef.dart
+++ b/pkg/front_end/testcases/inference/inferred_type_is_typedef.dart
@@ -6,4 +6,4 @@
library test;
typedef void F();
-final /*@topType=Map<String, F() -> void>*/ x = <String, F>{};
+final /*@topType=Map<String, () -> void>*/ x = <String, F>{};

Powered by Google App Engine
This is Rietveld 408576698