]> Cypherpunks repositories - gostls13.git/commitdiff
- removed double-declaration of len()
authorRobert Griesemer <gri@golang.org>
Mon, 20 Oct 2008 19:51:18 +0000 (12:51 -0700)
committerRobert Griesemer <gri@golang.org>
Mon, 20 Oct 2008 19:51:18 +0000 (12:51 -0700)
R=r
OCL=17463
CL=17463

usr/gri/gosrc/globals.go

index 14e588ee9da2c76ab5e512619211c4009e8d4637..e971a1462dd9d9f53018af0ebca471d714b154e8 100644 (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");