]> Cypherpunks repositories - gostls13.git/commit
reflect: add a secret method to ArrayOrSliceType.
authorRob Pike <r@golang.org>
Tue, 22 Feb 2011 17:21:50 +0000 (09:21 -0800)
committerRob Pike <r@golang.org>
Tue, 22 Feb 2011 17:21:50 +0000 (09:21 -0800)
commit795ff00df0f2e2eae44b50f33e2b63c23ec1a862
tree5e6b109637beabba75c0ba731533fb8cad9e8460
parent1e73fed888e313284fda240aa9b977dbe10aac5a
reflect: add a secret method to ArrayOrSliceType.
It was observed that the interface was generic enough
that several other types implemented it too.

Fixes #1530.

R=rsc
CC=golang-dev
https://golang.org/cl/4169063
src/pkg/reflect/type.go