Issue 8964 in go: reflect: Convert to unsafe.Pointer doesn't work

17 views
Skip to first unread message

g...@googlecode.com

unread,
Oct 19, 2014, 2:42:18 PM10/19/14
to golan...@googlegroups.com
Status: New
Owner: ----

New issue 8964 by davidtho...@gmail.com: reflect: Convert to unsafe.Pointer
doesn't work
https://code.google.com/p/go/issues/detail?id=8964

If you have a reflect.Value that's a pointer, and you try to call
its "Convert" method with the reflect.Type representation of the
unsafe.Pointer type, you get the error "panic: reflect.Value.Convert: value
of type *int cannot be converted to type unsafe.Pointer". That's wrong.

http://play.golang.org/p/ONG4bE_8iW

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

g...@googlecode.com

unread,
Oct 19, 2014, 3:29:57 PM10/19/14
to golan...@googlegroups.com
Updates:
Status: Accepted
Labels: Repo-Main Release-Go1.5

Comment #1 on issue 8964 by i...@golang.org: reflect: Convert to
(No comment was entered for this change.)

g...@googlecode.com

unread,
Oct 24, 2014, 10:51:42 PM10/24/14
to golan...@googlegroups.com

Comment #2 on issue 8964 by evankro...@google.com: reflect: Convert to
I'm working on this one.

g...@googlecode.com

unread,
Dec 4, 2014, 10:51:07 PM12/4/14
to golan...@googlegroups.com

Comment #3 on issue 8964 by evankro...@google.com: reflect: Convert to
Someone else can take this bug. I'm not working on it anymore.
Reply all
Reply to author
Forward
0 new messages