go/src/reflect
Ian Lance Taylor 1f4e68d92b reflect: an unnamed type has no PkgPath
The reflect package was returning a non-empty PkgPath for an unnamed
type with methods, such as a type whose methods have a pointer
receiver.

Fixes #16328.

Change-Id: I733e93981ebb5c5c108ef9b03bf5494930b93cf3
Reviewed-on: https://go-review.googlesource.com/24862
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2016-07-12 12:43:48 +00:00
..
all_test.go reflect: an unnamed type has no PkgPath 2016-07-12 12:43:48 +00:00
asm_386.s all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
asm_amd64.s all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
asm_amd64p32.s all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
asm_arm.s all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
asm_arm64.s all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
asm_mips64x.s all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
asm_ppc64x.s all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
asm_s390x.s reflect: add s390x support 2016-04-06 04:23:06 +00:00
deepequal.go all: single space after period. 2016-03-02 00:13:47 +00:00
example_test.go reflect: add method StructTag.Lookup 2016-03-25 04:54:19 +00:00
export_test.go runtime: tell race detector about reflectOffs.lock 2016-05-26 14:43:27 +00:00
makefunc.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
set_test.go reflect: recognize unnamed directional channels 2016-03-04 20:34:30 +00:00
tostring_test.go
type.go reflect: an unnamed type has no PkgPath 2016-07-12 12:43:48 +00:00
value.go cmd/compile, etc: use name offset in method tables 2016-04-18 09:12:41 +00:00