Revert "Add "last" setter to List."
After discussion, we decided not to change the List interface for something that is just a convenience.
Also revert "Mark pkgbuild/pkg/collection as failing when using repository packages"
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//331833003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/third_party/html5lib@37307 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/lib/dom.dart b/lib/dom.dart
index 95652dd..a87bca9 100644
--- a/lib/dom.dart
+++ b/lib/dom.dart
@@ -852,10 +852,6 @@
this[index].replaceWith(value);
}
- void set last(Element value) {
- this.last.replaceWith(value);
- }
-
void set length(int newLength) {
final len = this.length;
if (newLength >= len) {
diff --git a/lib/src/list_proxy.dart b/lib/src/list_proxy.dart
index 866d0ec..0ba7073 100644
--- a/lib/src/list_proxy.dart
+++ b/lib/src/list_proxy.dart
@@ -47,7 +47,6 @@
set length(int value) { _list.length = value; }
void add(E value) { _list.add(value); }
- void set last(E value) { _list.last = value; }
void addLast(E value) { add(value); }
void addAll(Iterable<E> collection) { _list.addAll(collection); }
void sort([int compare(E a, E b)]) { _list.sort(compare); }
diff --git a/pubspec.yaml b/pubspec.yaml
index 267d539..e4a2d9a 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: html5lib
-version: 0.11.1+0-dev
+version: 0.11.0+1
author: Dart Team <misc@dartlang.org>
description: A library for working with HTML documents.
homepage: http://pub.dartlang.org/packages/html5lib