aboutsummaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2022-03-21 20:07:06 -0400
committerCherry Mui <cherryyz@google.com>2022-03-23 16:12:07 +0000
commit909a7a32138367abec92434872695fb65aa9b7d1 (patch)
tree2b9b84a1d03ef255907315d5a5d38d897d24f678 /src/debug
parent20ba3f5de52bf8665d35c86111312274f6a4d1be (diff)
downloadgo-909a7a32138367abec92434872695fb65aa9b7d1.tar.xz
cmd/compile: don't mark non-generic defined type symbol dupok
For a non-generic defined type, we generate its type descriptor symbol only in the defining package. So there is no duplicate and it doesn't need to be dupok. For unnamed types and instantiated types, the type descriptor can be generated in multiple packages and so still need to be dupok. Change-Id: I92ed68c998ad68c5917b77b1dfd62eac4ced6bcf Reviewed-on: https://go-review.googlesource.com/c/go/+/394636 Trust: Cherry Mui <cherryyz@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/debug')
0 files changed, 0 insertions, 0 deletions