]> Cypherpunks repositories - gostls13.git/commit
reflect: panic if Method index is out of range for a type.
authorRob Pike <r@golang.org>
Mon, 18 Jul 2011 01:34:13 +0000 (11:34 +1000)
committerRob Pike <r@golang.org>
Mon, 18 Jul 2011 01:34:13 +0000 (11:34 +1000)
commit50d90451ff9eb9fc74b52cbf02518164d57f93ed
tree875a279e446d65fe0c5d6bb5254422389ea16fc8
parent9d55c282e3aac4c2d97590785d7a821adcf8ac9e
reflect: panic if Method index is out of range for a type.
Makes the code agree with the documentation.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/4759050
src/pkg/reflect/type.go