commit | a48b35e9617c6f40156c1ad02a3cf99063fd742f | [log] [tgz] |
---|---|---|
author | Robert Griesemer <gri@golang.org> | Tue Aug 17 15:12:28 2010 -0700 |
committer | Robert Griesemer <gri@golang.org> | Tue Aug 17 15:12:28 2010 -0700 |
tree | ef16a6961fce09747cb2a086283e2ade6ccb3b65 | |
parent | 660ce1425f8c3c172c8a0b4757a9be903ff680f7 [diff] |
reflect: allow PtrValue.PointTo(nil) (Argument: For any *PtrValue p, it should always be possible to do: p.PointTo(p.Elem()), even if p.Elem() is nil.) Fixes #1028. R=rsc CC=golang-dev, r https://golang.org/cl/1938044