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

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

Issue 2874033003: Set MethodInvocation.interfaceTarget during type inference. (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_inference_error.dart
diff --git a/pkg/front_end/testcases/inference/generic_methods_inference_error.dart b/pkg/front_end/testcases/inference/generic_methods_inference_error.dart
index 491a51862e7f59799b84d8fc12f0545c88179954..e0650140c14197ceb753ec1baeacffe70c9c90a2 100644
--- a/pkg/front_end/testcases/inference/generic_methods_inference_error.dart
+++ b/pkg/front_end/testcases/inference/generic_methods_inference_error.dart
@@ -7,8 +7,9 @@ library test;
main() {
List<String> y;
- Iterable<String> x = /*@promotedType=none*/ y. /*@typeArgs=String*/ map(
- /*error:ARGUMENT_TYPE_NOT_ASSIGNABLE*/ /*@returnType=double*/ (String
- z) =>
- 1.0);
+ Iterable<String> x = /*@promotedType=none*/ y
+ . /*@typeArgs=String*/ /*@target=List::map*/ map(
+ /*error:ARGUMENT_TYPE_NOT_ASSIGNABLE*/ /*@returnType=double*/ (String
+ z) =>
+ 1.0);
}

Powered by Google App Engine
This is Rietveld 408576698