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

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

Issue 2911683003: Add type inference support for "call" invocations of function expressions. (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/generic_methods_basic_downward_inference.dart
diff --git a/pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart b/pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart
index 4470fe940911668c0da5873798295df116592a19..ce5e324b99ce21f200cf9d8d04b65c89f11477db 100644
--- a/pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart
+++ b/pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart
@@ -8,5 +8,5 @@ library test;
T f<S, T>(S s) => null;
main() {
String x = /*@typeArgs=int, String*/ f(42);
- String y = (f)(42);
+ String y = (f) /*@typeArgs=int, String*/ (42);
}

Powered by Google App Engine
This is Rietveld 408576698