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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.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:
Download patch
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/lib/js_array.dart ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index ec4a90bcf69a867042f6db1bb09ca2b603042df1..08cbe48100ecbbc0d7dc14bc98805c648dffd6f6 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -7390,10 +7390,6 @@ class DomMimeTypeArray implements JavaScriptIndexingBehavior, List<DomMimeType>
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(DomMimeType value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<DomMimeType> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -7658,10 +7654,6 @@ class DomPluginArray implements JavaScriptIndexingBehavior, List<DomPlugin> nati
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(DomPlugin value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<DomPlugin> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -8033,10 +8025,6 @@ class DomStringList implements JavaScriptIndexingBehavior, List<String> native "
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(String value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<String> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -8328,8 +8316,6 @@ class _ChildrenElementList implements List {
return value;
}
- Element addLast(Element value) => add(value);
-
Iterator<Element> get iterator => toList().iterator;
void addAll(Iterable<Element> iterable) {
@@ -8582,10 +8568,6 @@ class _FrozenElementList implements List {
throw new UnsupportedError('');
}
- void addLast(Element value) {
- throw new UnsupportedError('');
- }
-
Iterator<Element> get iterator => new _FrozenElementListIterator(this);
void addAll(Iterable<Element> iterable) {
@@ -10996,10 +10978,6 @@ class FileList implements JavaScriptIndexingBehavior, List<File> native "*FileLi
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(File value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<File> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -11569,10 +11547,6 @@ class Float32Array extends ArrayBufferView implements JavaScriptIndexingBehavior
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(num value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<num> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -11801,10 +11775,6 @@ class Float64Array extends ArrayBufferView implements JavaScriptIndexingBehavior
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(num value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<num> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -12453,10 +12423,6 @@ class HtmlAllCollection implements JavaScriptIndexingBehavior, List<Node> native
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(Node value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<Node> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -12674,10 +12640,6 @@ class HtmlCollection implements JavaScriptIndexingBehavior, List<Node> native "*
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(Node value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<Node> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -14718,10 +14680,6 @@ class Int16Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(int value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<int> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -14950,10 +14908,6 @@ class Int32Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(int value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<int> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -15182,10 +15136,6 @@ class Int8Array extends ArrayBufferView implements JavaScriptIndexingBehavior, L
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(int value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<int> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -17616,11 +17566,6 @@ class _ChildNodeListLazy implements List {
_this.append(value);
}
- void addLast(Node value) {
- _this.append(value);
- }
-
-
void addAll(Iterable<Node> iterable) {
if (iterable is _ChildNodeListLazy) {
if (!identical(iterable._this, _this)) {
@@ -18267,10 +18212,6 @@ class NodeList implements JavaScriptIndexingBehavior, List<Node> native "*NodeLi
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(Node value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<Node> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -20591,10 +20532,6 @@ class SourceBufferList extends EventTarget implements JavaScriptIndexingBehavior
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(SourceBuffer value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<SourceBuffer> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -20885,10 +20822,6 @@ class SpeechGrammarList implements JavaScriptIndexingBehavior, List<SpeechGramma
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(SpeechGrammar value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<SpeechGrammar> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -22329,10 +22262,6 @@ class TextTrackCueList implements List<TextTrackCue>, JavaScriptIndexingBehavior
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(TextTrackCue value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<TextTrackCue> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -22548,10 +22477,6 @@ class TextTrackList extends EventTarget implements JavaScriptIndexingBehavior, L
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(TextTrack value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<TextTrack> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -22993,10 +22918,6 @@ class TouchList implements JavaScriptIndexingBehavior, List<Touch> native "*Touc
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(Touch value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<Touch> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -23475,10 +23396,6 @@ class Uint16Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(int value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<int> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -23707,10 +23624,6 @@ class Uint32Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(int value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<int> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -23939,10 +23852,6 @@ class Uint8Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(int value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<int> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -24168,10 +24077,6 @@ class Uint8ClampedArray extends Uint8Array implements JavaScriptIndexingBehavior
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(int value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<int> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -26689,10 +26594,6 @@ class _ClientRectList implements JavaScriptIndexingBehavior, List<Rect> native "
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(Rect value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<Rect> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -26900,10 +26801,6 @@ class _CssRuleList implements JavaScriptIndexingBehavior, List<CssRule> native "
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(CssRule value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<CssRule> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -27111,10 +27008,6 @@ class _CssValueList extends CssValue implements List<CssValue>, JavaScriptIndexi
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(CssValue value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<CssValue> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -27322,10 +27215,6 @@ class _EntryArray implements JavaScriptIndexingBehavior, List<Entry> native "*En
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(Entry value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<Entry> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -27533,10 +27422,6 @@ class _EntryArraySync implements JavaScriptIndexingBehavior, List<EntrySync> nat
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(EntrySync value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<EntrySync> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -27744,10 +27629,6 @@ class _GamepadList implements JavaScriptIndexingBehavior, List<Gamepad> native "
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(Gamepad value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<Gamepad> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -28018,10 +27899,6 @@ class _NamedNodeMap implements JavaScriptIndexingBehavior, List<Node> native "*N
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(Node value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<Node> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -28253,10 +28130,6 @@ class _SpeechInputResultList implements JavaScriptIndexingBehavior, List<SpeechI
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(SpeechInputResult value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<SpeechInputResult> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -28464,10 +28337,6 @@ class _SpeechRecognitionResultList implements JavaScriptIndexingBehavior, List<S
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(SpeechRecognitionResult value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<SpeechRecognitionResult> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -28675,10 +28544,6 @@ class _StyleSheetList implements JavaScriptIndexingBehavior, List<StyleSheet> na
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(StyleSheet value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<StyleSheet> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -31815,8 +31680,6 @@ class _WrappedList<E> implements List<E> {
void set length(int newLength) { _list.length = newLength; }
- void addLast(E value) { _list.add(value); }
-
Iterable<E> get reversed => _list.reversed;
void sort([int compare(E a, E b)]) { _list.sort(compare); }
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/lib/js_array.dart ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698