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

Unified Diff: pkg/front_end/testcases/inference/infer_generic_method_type_required.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_required.dart
diff --git a/pkg/front_end/testcases/inference/infer_generic_method_type_required.dart b/pkg/front_end/testcases/inference/infer_generic_method_type_required.dart
index ad28bd9bdf33de44e2ed0e1a0fb2b02edab5603e..a707240230536abb495726648466628d6daa4851 100644
--- a/pkg/front_end/testcases/inference/infer_generic_method_type_required.dart
+++ b/pkg/front_end/testcases/inference/infer_generic_method_type_required.dart
@@ -10,5 +10,5 @@ class C {
}
main() {
- var /*@type=int*/ y = new C(). /*@typeArgs=int*/ m(42);
+ var /*@type=int*/ y = new C(). /*@typeArgs=int*/ /*@target=C::m*/ m(42);
}

Powered by Google App Engine
This is Rietveld 408576698