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

Unified Diff: tests/corelib_2/const_list_set_range_test.dart

Issue 3009623002: fix list_test for strong mode, and fix DDC List constructors (Closed)
Patch Set: update status, one additional fix Created 3 years, 4 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: tests/corelib_2/const_list_set_range_test.dart
diff --git a/tests/corelib_2/const_list_set_range_test.dart b/tests/corelib_2/const_list_set_range_test.dart
index 2dca437a8e11f3d1a88cc3888b08180338ca0002..15d2ccc1c6cedca8a4751ffbc9540c3d99b31408 100644
--- a/tests/corelib_2/const_list_set_range_test.dart
+++ b/tests/corelib_2/const_list_set_range_test.dart
@@ -14,7 +14,7 @@ void expectUOE(f()) {
Expect.throws(f, (e) => e is UnsupportedError);
}
-testImmutable(var list) {
+testImmutable(List list) {
expectUOE(() {
list.setRange(0, 0, const []);
});

Powered by Google App Engine
This is Rietveld 408576698