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

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

Issue 2921533004: Annotate optional parameter inferred types in front end test cases. (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/analyzer/test/src/task/strong/front_end_inference_test.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/downwards_inference_initializing_formal_default_formal.dart
diff --git a/pkg/front_end/testcases/inference/downwards_inference_initializing_formal_default_formal.dart b/pkg/front_end/testcases/inference/downwards_inference_initializing_formal_default_formal.dart
index c5e42b4247e74bebe524d97be7d83db212af6238..b82f0e70c421f73b9166365642b428f344a578f5 100644
--- a/pkg/front_end/testcases/inference/downwards_inference_initializing_formal_default_formal.dart
+++ b/pkg/front_end/testcases/inference/downwards_inference_initializing_formal_default_formal.dart
@@ -16,5 +16,5 @@ class Foo {
void f([List<int> l = /*@typeArgs=int*/ const [1]]) {}
// We do this inference in an early task but don't preserve the infos.
Function2<List<int>, String> g = /*@returnType=String*/ (
- [llll = /*@typeArgs=int*/ const [1]]) =>
+ [/*@type=List<int>*/ llll = /*@typeArgs=int*/ const [1]]) =>
"hello";
« no previous file with comments | « pkg/analyzer/test/src/task/strong/front_end_inference_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698