aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/sql.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2016-11-16 16:13:22 -0800
committerIan Lance Taylor <iant@golang.org>2016-11-17 01:19:46 +0000
commit011cb6423187699e26553580d97518f40966d32b (patch)
tree77d5e7aaf461c281c55d9334170161699596be81 /src/database/sql/sql.go
parentfbf92436b95d91151ce6717f40c46614ee68d487 (diff)
downloadgo-011cb6423187699e26553580d97518f40966d32b.tar.xz
cmd/compile, reflect: use field pkgPath if needed
It's possible for the pkgPath of a field to be different than that of the struct type as a whole. In that case, store the field's pkgPath in the name field. Use the field's pkgPath when setting PkgPath and when checking for type identity. Fixes #17952. Change-Id: Iebaf92f0054b11427c8f6e4158c3bebcfff06f45 Reviewed-on: https://go-review.googlesource.com/33333 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: David Crawshaw <crawshaw@golang.org>
Diffstat (limited to 'src/database/sql/sql.go')
0 files changed, 0 insertions, 0 deletions