]> Cypherpunks repositories - gostls13.git/commit
Make the reflection library match the reflection string which
authorIan Lance Taylor <iant@golang.org>
Tue, 14 Apr 2009 13:46:01 +0000 (06:46 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 14 Apr 2009 13:46:01 +0000 (06:46 -0700)
commitca9765d83a159b25514b8d0810c3eadb5b753ccd
treed3cf3c70628cde6bc4bfb2534ee7142930487cd0
parente21d981a2fdf36b9c126ef53569a175db5513e79
Make the reflection library match the reflection string which
6g generates for functions: expect the keyword "func".  The
older reflection syntax, without the "func", is still
recognized for simplicity in parsing interface reflection
strings.

R=r,rsc
DELTA=66  (31 added, 8 deleted, 27 changed)
OCL=27396
CL=27422
src/lib/reflect/all_test.go
src/lib/reflect/tostring.go
src/lib/reflect/type.go
src/lib/reflect/value.go