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

Unified Diff: pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.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_infer_generic_method_type.dart
diff --git a/pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.dart b/pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.dart
index d483c9a5b5d75fc6863a63539adcd66d36586df6..931bbaa63e5e88e20a81427b32c81719d438390d 100644
--- a/pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.dart
+++ b/pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.dart
@@ -14,6 +14,6 @@ class D extends C {
}
main() {
- int y = new D().m<int>(42);
+ int y = new D(). /*@target=D::m*/ m<int>(42);
print(/*@promotedType=none*/ y);
}

Powered by Google App Engine
This is Rietveld 408576698