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

Unified Diff: pkg/front_end/testcases/inference/inferred_type_custom_index_op_via_interface.dart

Issue 2873813002: Implement type inference of method invocations in Fasta. (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 1be7aee0791da4430a9e5782fd669d19da9d655b..521d80b2b6cf392ea7635f4220e472d835f758f5 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
@@ -11,7 +11,9 @@ class I {
abstract class C implements I {}
-main() {
+f() {
C c;
var /*@type=bool*/ x = /*@promotedType=none*/ c[0];
}
+
+main() {}

Powered by Google App Engine
This is Rietveld 408576698