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/collection@37307 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/lib/wrappers.dart b/lib/wrappers.dart
index 7723d58..2034174 100644
--- a/lib/wrappers.dart
+++ b/lib/wrappers.dart
@@ -124,10 +124,6 @@
_listBase[index] = value;
}
- void set last(E value) {
- _listBase.last = value;
- }
-
void add(E value) {
_listBase.add(value);
}
@@ -431,7 +427,7 @@
/**
* Creates a modifiable [Set] view of the values of a [Map].
- *
+ *
* The `Set` view assumes that the keys of the `Map` can be uniquely determined
* from the values. The `keyForValue` function passed to the constructor finds
* the key for a single value. The `keyForValue` function should be consistent
diff --git a/pubspec.yaml b/pubspec.yaml
index 0ae4b42..80b0972 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: collection
-version: 1.0.0-dev
+version: 0.9.3+1
author: Dart Team <misc@dartlang.org>
description: Collections and utilities functions and classes related to collections.
homepage: http://www.dartlang.org
diff --git a/test/wrapper_test.dart b/test/wrapper_test.dart
index 414c8f7..5858aaf 100644
--- a/test/wrapper_test.dart
+++ b/test/wrapper_test.dart
@@ -197,7 +197,6 @@
expect.indexOf(val, 4).equals.indexOf(val, 4);
expect.insert(4, val).equals.insert(4, val);
expect.insertAll(4, [val]).equals.insertAll(4, [val]);
- (expect..last = 5).equals.last = 5;
expect.lastIndexOf(val, null).equals.lastIndexOf(val);
expect.lastIndexOf(val, 4).equals.lastIndexOf(val, 4);
(expect..length = 4).equals.length = 4;