aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/reflectdata/reflect.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2021-07-07 16:15:53 -0700
committerMatthew Dempsky <mdempsky@google.com>2021-07-08 19:50:12 +0000
commit42fe1327878dc0956d2c6407a54112fa5e75bd34 (patch)
tree39bcf3ea6d818e294719782c53a29e4309839943 /src/cmd/compile/internal/reflectdata/reflect.go
parentd4f6d161e439b3c2a56a4583d4b5acebe3fdeeee (diff)
downloadgo-42fe1327878dc0956d2c6407a54112fa5e75bd34.tar.gz
go-42fe1327878dc0956d2c6407a54112fa5e75bd34.zip
[dev.typeparams] cmd/compile: cleanup ABI utils tests
This CL cleans a few minor nits with the ABI utils tests that are now necessary because of cleanups that happened on master: 1. Initialize types.LocalPkg; this needs to be set for selector names to be handled correctly. 2. In TestABIUtilsInterfaces, switch to using an exported identifier, so it doesn't need to be package qualified. 3. While here, change the method result type from "untyped string" to just "string". Constants are the only declared object that can ever have an untyped type. Change-Id: Iabed46594361a516317a1c2d20c3d59bdb519844 Reviewed-on: https://go-review.googlesource.com/c/go/+/333189 Trust: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com>
Diffstat (limited to 'src/cmd/compile/internal/reflectdata/reflect.go')
0 files changed, 0 insertions, 0 deletions