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

Unified Diff: runtime/lib/array.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
« no previous file with comments | « pkg/serialization/lib/src/serialization_rule.dart ('k') | runtime/lib/growable_array.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/array.dart
diff --git a/runtime/lib/array.dart b/runtime/lib/array.dart
index 1a8977eb6c4c48161109bebc02ae5100a77173b7..696bfcc5adca81966fdcd329fb5204903ac05ec5 100644
--- a/runtime/lib/array.dart
+++ b/runtime/lib/array.dart
@@ -194,10 +194,6 @@ class _ObjectArray<E> implements List<E> {
"Cannot add to a non-extendable array");
}
- void addLast(E element) {
- add(element);
- }
-
void addAll(Iterable<E> iterable) {
throw new UnsupportedError(
"Cannot add to a non-extendable array");
@@ -446,10 +442,6 @@ class _ImmutableArray<E> implements List<E> {
"Cannot add to an immutable array");
}
- void addLast(E element) {
- add(element);
- }
-
void addAll(Iterable<E> elements) {
throw new UnsupportedError(
"Cannot add to an immutable array");
« no previous file with comments | « pkg/serialization/lib/src/serialization_rule.dart ('k') | runtime/lib/growable_array.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698