commit | 50d90451ff9eb9fc74b52cbf02518164d57f93ed | [log] [tgz] |
---|---|---|
author | Rob Pike <r@golang.org> | Mon Jul 18 11:34:13 2011 +1000 |
committer | Rob Pike <r@golang.org> | Mon Jul 18 11:34:13 2011 +1000 |
tree | 875a279e446d65fe0c5d6bb5254422389ea16fc8 | |
parent | 9d55c282e3aac4c2d97590785d7a821adcf8ac9e [diff] |
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