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

Unified Diff: pkg/front_end/testcases/inference/infer_generic_method_type_positional.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/infer_generic_method_type_positional.dart
diff --git a/pkg/front_end/testcases/inference/infer_generic_method_type_positional.dart b/pkg/front_end/testcases/inference/infer_generic_method_type_positional.dart
index 349ac78aee52ccf329f6f699a7082394b6b3b277..349442a4c04772f44290776bb0100d3d827f0842 100644
--- a/pkg/front_end/testcases/inference/infer_generic_method_type_positional.dart
+++ b/pkg/front_end/testcases/inference/infer_generic_method_type_positional.dart
@@ -10,5 +10,6 @@ class C {
}
main() {
- var /*@type=double*/ y = new C(). /*@typeArgs=double*/ m(1, 2.0);
+ var /*@type=double*/ y =
+ new C(). /*@typeArgs=double*/ /*@target=C::m*/ m(1, 2.0);
}

Powered by Google App Engine
This is Rietveld 408576698