Index: tests/lib/mirrors/immutable_collections_test.dart |
diff --git a/tests/lib/mirrors/immutable_collections_test.dart b/tests/lib/mirrors/immutable_collections_test.dart |
index 391fce449aad0e100c3126465a96ebf75e850a64..6a85e57dfd38411a6364e69eb0d3a7192899f5cf 100644 |
--- a/tests/lib/mirrors/immutable_collections_test.dart |
+++ b/tests/lib/mirrors/immutable_collections_test.dart |
@@ -10,9 +10,9 @@ import 'package:expect/expect.dart'; |
someException(e) => e is Exception || e is Error; |
checkList(Iterable l, String reason) { |
- Expect.throws(() => l[0] = 'value', someException, reason); |
- Expect.throws(() => l.add('value'), someException, reason); |
- Expect.throws(() => l.clear(), someException, reason); |
+ Expect.throws(() => l[0] = 'value', someException, reason); /// static type warning |
+ Expect.throws(() => l.add('value'), someException, reason); /// static type warning |
+ Expect.throws(() => l.clear(), someException, reason); /// static type warning |
} |
checkMap(Map m, String reason) { |