diff options
author | Rob Pike <r@golang.org> | 2008-07-08 14:20:04 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2008-07-08 14:20:04 -0700 |
commit | 7aa5573dfd202c17d7b82fa81f2f3706a3e80f85 (patch) | |
tree | 06900de187a1fad60cf1d3d5c19ae04dd3573871 /src/lib/container/vector.go | |
parent | 317756ffc773b42be493079a66cbe1e3694521e6 (diff) | |
download | golang-7aa5573dfd202c17d7b82fa81f2f3706a3e80f85.tar.gz |
disambiguate typedefs in export blocks of .6 files
SVN=126366
Diffstat (limited to 'src/lib/container/vector.go')
-rw-r--r-- | src/lib/container/vector.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/container/vector.go b/src/lib/container/vector.go index d6de66ef5..d0d75bd04 100644 --- a/src/lib/container/vector.go +++ b/src/lib/container/vector.go @@ -63,8 +63,8 @@ func (v *Vector) Len() int { func (v *Vector) At(i int) Element { if i < 0 || i >= v.nelem { - //return nil; // BUG - panic "At out of range\n"; + panic "Vector.At(", i, ") out of range (size ", v.nelem, ")\n"; + return nil; } return v.elem[i]; } |