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

Unified Diff: pkg/front_end/testcases/inference/infer_generic_method_type_named.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_named.dart
diff --git a/pkg/front_end/testcases/inference/infer_generic_method_type_named.dart b/pkg/front_end/testcases/inference/infer_generic_method_type_named.dart
index 234cb06ac47480dfd9649848a97b6a1674685682..7da6371dbbfa23662e71cea49ec7bfd998c336fe 100644
--- a/pkg/front_end/testcases/inference/infer_generic_method_type_named.dart
+++ b/pkg/front_end/testcases/inference/infer_generic_method_type_named.dart
@@ -10,5 +10,6 @@ class C {
}
main() {
- var /*@type=double*/ y = new C(). /*@typeArgs=double*/ m(1, b: 'bbb', c: 2.0);
+ var /*@type=double*/ y =
+ new C(). /*@typeArgs=double*/ /*@target=C::m*/ m(1, b: 'bbb', c: 2.0);
}

Powered by Google App Engine
This is Rietveld 408576698