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() {} |