Index: sdk/lib/internal/list.dart |
diff --git a/sdk/lib/internal/list.dart b/sdk/lib/internal/list.dart |
index 43e7e6a730efe8019b5c8fe5227d57734660330e..71e08f80de5d9a483de247ed59f7c823c2fa0a88 100644 |
--- a/sdk/lib/internal/list.dart |
+++ b/sdk/lib/internal/list.dart |
@@ -239,7 +239,7 @@ class _ListIndicesIterable extends ListIterable<int> { |
int get length => _backedList.length; |
int elementAt(int index) { |
if (index < 0 || index >= length) { |
- throw new RangeError.range(index, 0, length); |
+ throw new RangeError.index(index, this); |
} |
return index; |
} |