Index: pkg/front_end/testcases/inference/infer_assign_to_index.dart |
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_index.dart b/pkg/front_end/testcases/inference/infer_assign_to_index.dart |
index ef4ae3ee02a8eeb12147ac191bce5204e729fa3a..7ea82f707959da20b40add95a8bf79f5ddf65b68 100644 |
--- a/pkg/front_end/testcases/inference/infer_assign_to_index.dart |
+++ b/pkg/front_end/testcases/inference/infer_assign_to_index.dart |
@@ -6,6 +6,7 @@ |
library test; |
List<double> a = <double>[]; |
-var /*@topType=dynamic*/ b = (/*error:TOP_LEVEL_UNSUPPORTED*/ a[0] = 1.0); |
+var /*@topType=dynamic*/ b = |
+ (/*error:TOP_LEVEL_UNSUPPORTED*/ a /*@target=List::[]=*/ [0] = 1.0); |
main() {} |