Commit 1f4e68d9 authored by Ian Lance Taylor's avatar Ian Lance Taylor
Browse files

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: default avatarDavid Crawshaw <crawshaw@golang.org>
parent a84b18ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment