Index: pkg/front_end/testcases/inference/infer_types_on_loop_indices_for_each_loop.dart |
diff --git a/pkg/front_end/testcases/inference/infer_types_on_loop_indices_for_each_loop.dart b/pkg/front_end/testcases/inference/infer_types_on_loop_indices_for_each_loop.dart |
index d336c30a6c76a3d628cb58973e04943554e7f90a..8495afac5cefc61e19be7bce1a908c9d4791e497 100644 |
--- a/pkg/front_end/testcases/inference/infer_types_on_loop_indices_for_each_loop.dart |
+++ b/pkg/front_end/testcases/inference/infer_types_on_loop_indices_for_each_loop.dart |
@@ -63,7 +63,7 @@ test() { |
// We're not properly inferring that map.keys is an Iterable<String> |
// and that x is a String. |
- for (var /*@type=String*/ x in map.keys) { |
+ for (var /*@type=String*/ x in map. /*@target=Map::keys*/ keys) { |
String y = x; |
} |
} |