diff options
author | Keith Randall <khr@golang.org> | 2021-06-03 15:39:23 -0700 |
---|---|---|
committer | Keith Randall <khr@golang.org> | 2021-06-04 18:11:39 +0000 |
commit | bad388744b57cb49f364971e21d6a2300545f0fb (patch) | |
tree | 362c309f0c0cbd881029f839b6be9b0e88be050b /src/cmd/compile/internal/typecheck/iexport.go | |
parent | de614651561c6d5bfe1e68bddaf0dedab9a0ecb0 (diff) | |
download | go-bad388744b57cb49f364971e21d6a2300545f0fb.tar.gz go-bad388744b57cb49f364971e21d6a2300545f0fb.zip |
[dev.typeparams] cmd/compile: handle dictionaries for top-level instantiations
There's no outer function in these cases, so we won't be reading
the dictionary as a subdictionary from the outer scope's dictionary.
It will always be a compile-time constant.
Change-Id: I754b126652a6ffb62255734d53fcec29d77cfa9e
Reviewed-on: https://go-review.googlesource.com/c/go/+/324949
Trust: Keith Randall <khr@golang.org>
Trust: Dan Scales <danscales@google.com>
Reviewed-by: Dan Scales <danscales@google.com>
Diffstat (limited to 'src/cmd/compile/internal/typecheck/iexport.go')
0 files changed, 0 insertions, 0 deletions