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

Unified Diff: sdk/lib/_collection_dev/list.dart

Issue 13528004: Remove addLast from List. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove typo Created 7 years, 9 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: sdk/lib/_collection_dev/list.dart
diff --git a/sdk/lib/_collection_dev/list.dart b/sdk/lib/_collection_dev/list.dart
index 0617750aa732e4253a99eba948d3aecf3b037165..d8fe4f89a7cce1dbe39a086581baa8641e14ea52 100644
--- a/sdk/lib/_collection_dev/list.dart
+++ b/sdk/lib/_collection_dev/list.dart
@@ -459,11 +459,6 @@ abstract class FixedLengthListMixin<E> {
"Cannot add to a fixed-length list");
}
- void addLast(E value) {
- throw new UnsupportedError(
- "Cannot add to a fixed-length list");
- }
-
void insert(int index, E value) {
throw new UnsupportedError(
"Cannot add to a fixed-length list");
@@ -549,11 +544,6 @@ abstract class UnmodifiableListMixin<E> {
"Cannot add to an unmodifiable list");
}
- void addLast(E value) {
- throw new UnsupportedError(
- "Cannot add to an unmodifiable list");
- }
-
E insert(int index, E value) {
throw new UnsupportedError(
"Cannot add to an unmodifiable list");
« no previous file with comments | « samples/swarm/swarm_ui_lib/observable/observable.dart ('k') | sdk/lib/_internal/compiler/implementation/lib/js_array.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698