Commit a11d5aec authored by Robert Griesemer's avatar Robert Griesemer

- removed double-declaration of len()

R=r
OCL=17463
CL=17463
parent 7c7a525d
...@@ -190,11 +190,6 @@ func (obj *Object) Copy() *Object { ...@@ -190,11 +190,6 @@ func (obj *Object) Copy() *Object {
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// List methods // List methods
func (L* List) len_() int {
return L.len_;
}
func (L *List) at(i int) *Elem { func (L *List) at(i int) *Elem {
if i < 0 || L.len_ <= i { if i < 0 || L.len_ <= i {
panic("index out of bounds"); panic("index out of bounds");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment