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

Unified Diff: pkg/front_end/testcases/inference/infer_types_on_generic_instantiations_5.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_types_on_generic_instantiations_5.dart
diff --git a/pkg/front_end/testcases/inference/infer_types_on_generic_instantiations_5.dart b/pkg/front_end/testcases/inference/infer_types_on_generic_instantiations_5.dart
index f04bb947fefe0f733461c4bf2bec98e7323a37d8..5025679845e788edb5d5f23c7eebd92438a35c3f 100644
--- a/pkg/front_end/testcases/inference/infer_types_on_generic_instantiations_5.dart
+++ b/pkg/front_end/testcases/inference/infer_types_on_generic_instantiations_5.dart
@@ -27,8 +27,8 @@ class B<E> extends A<E> implements M {
foo() {
int y = /*error:INVALID_ASSIGNMENT*/ new /*@typeArgs=dynamic*/ B()
- .m(null, null);
- String z = new /*@typeArgs=dynamic*/ B().m(null, null);
+ . /*@target=B::m*/ m(null, null);
+ String z = new /*@typeArgs=dynamic*/ B(). /*@target=B::m*/ m(null, null);
}
main() {}

Powered by Google App Engine
This is Rietveld 408576698