]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] reflect: reflect.Zero results are neither addressable nor settable
authorRobert Griesemer <gri@golang.org>
Fri, 21 Sep 2012 19:53:59 +0000 (05:53 +1000)
committerRobert Griesemer <gri@golang.org>
Fri, 21 Sep 2012 19:53:59 +0000 (05:53 +1000)
commit40b5d5481a6dc3e877487923dcf9d81515ebb072
tree008ed046af8d327ae74029894909f3b8412a9339
parentecd62d606a2c58eb2e46c3a7fb6b345e8e5aa911
[release-branch.go1] reflect: reflect.Zero results are neither addressable nor settable

««« backport 21130d62eeb0
reflect: reflect.Zero results are neither addressable nor settable

This could be deduced from "The Laws of Reflection" but it seems
worthwhile highlighting it.

R=r
CC=golang-dev
https://golang.org/cl/6350073

»»»
src/pkg/reflect/value.go