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

Unified Diff: pkg/front_end/testcases/inference/inferred_type_custom_index_op_via_interface.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/inferred_type_custom_index_op_via_interface.dart
diff --git a/pkg/front_end/testcases/inference/inferred_type_custom_index_op_via_interface.dart b/pkg/front_end/testcases/inference/inferred_type_custom_index_op_via_interface.dart
index 521d80b2b6cf392ea7635f4220e472d835f758f5..2128d400c05b2b3e8e7dc4d4c83ee0689faf2ff6 100644
--- a/pkg/front_end/testcases/inference/inferred_type_custom_index_op_via_interface.dart
+++ b/pkg/front_end/testcases/inference/inferred_type_custom_index_op_via_interface.dart
@@ -13,7 +13,7 @@ abstract class C implements I {}
f() {
C c;
- var /*@type=bool*/ x = /*@promotedType=none*/ c[0];
+ var /*@type=bool*/ x = /*@promotedType=none*/ c /*@target=I::[]*/ [0];
}
main() {}

Powered by Google App Engine
This is Rietveld 408576698