aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/reflectdata/reflect.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2021-06-11 01:45:24 -0700
committerMatthew Dempsky <mdempsky@google.com>2021-06-11 14:48:07 +0000
commit4a735ce0680e5ea6088da8072ba4c2b0076e51cb (patch)
treeffc0fd77b0ce448e29575e5d07bcf0789d78eb8a /src/cmd/compile/internal/reflectdata/reflect.go
parent61888d47c4c49afc2e4ac3aeea42e83cda84d37b (diff)
downloadgo-4a735ce0680e5ea6088da8072ba4c2b0076e51cb.tar.gz
go-4a735ce0680e5ea6088da8072ba4c2b0076e51cb.zip
[dev.typeparams] cmd/compile: add "check" field to noder.gcimports
The unified IR importer needs access to the *types2.Checker instance to lazily construct objects and types. Eventually, maybe the types2.Importer API can be extended to add the Checker as another parameter (or more likely something like an ImportConfig struct), but right now we can handle this ourselves as long as we forgo the types2.(*Config).Check convenience wrapper. Updates #46449. Change-Id: I89c41d5d47c224a58841247cd236cd9f701a23a1 Reviewed-on: https://go-review.googlesource.com/c/go/+/327053 Trust: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Diffstat (limited to 'src/cmd/compile/internal/reflectdata/reflect.go')
0 files changed, 0 insertions, 0 deletions