1
0
mirror of https://github.com/golang/go synced 2024-11-22 06:44:40 -07:00

- removed double-declaration of len()

R=r
OCL=17463
CL=17463
This commit is contained in:
Robert Griesemer 2008-10-20 12:51:18 -07:00
parent 7c7a525d18
commit a11d5aecb8

View File

@ -190,11 +190,6 @@ func (obj *Object) Copy() *Object {
// ----------------------------------------------------------------------------
// List methods
func (L* List) len_() int {
return L.len_;
}
func (L *List) at(i int) *Elem {
if i < 0 || L.len_ <= i {
panic("index out of bounds");