summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2008-10-20 12:51:18 -0700
committerRobert Griesemer <gri@golang.org>2008-10-20 12:51:18 -0700
commit78d5282e0cdcef2bf1d50518aa1e23bb7f099a7a (patch)
tree32e7098d031009aeefcaa4f31e0ce15e7389a45c
parentab3a3f2e834b5b3a54246a032b6b25cc3d903fb4 (diff)
downloadgolang-78d5282e0cdcef2bf1d50518aa1e23bb7f099a7a.tar.gz
- removed double-declaration of len()
R=r OCL=17463 CL=17463
-rw-r--r--usr/gri/gosrc/globals.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/usr/gri/gosrc/globals.go b/usr/gri/gosrc/globals.go
index 14e588ee9..e971a1462 100644
--- a/usr/gri/gosrc/globals.go
+++ b/usr/gri/gosrc/globals.go
@@ -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");