r202670 - /trunk/libgo/go/reflect/value.go

ian@gcc.gnu.org ian@gcc.gnu.org
Tue Sep 17 23:03:00 GMT 2013


Author: ian
Date: Tue Sep 17 22:11:43 2013
New Revision: 202670

URL: http://gcc.gnu.org/viewcvs?rev=202670&root=gcc&view=rev
Log:
reflect: Fix bug calling method on indirect value.

The gccgo-specific iword function was checking v.kind, but for
a method value that is always Func.  Fix to check v.typ.Kind()
instead.

Modified:
    trunk/libgo/go/reflect/value.go



More information about the Gcc-cvs mailing list