]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] cmd/compile: clean up instantiation and dictionary naming
authorKeith Randall <khr@golang.org>
Sun, 27 Jun 2021 01:18:16 +0000 (18:18 -0700)
committerKeith Randall <khr@golang.org>
Tue, 29 Jun 2021 20:39:05 +0000 (20:39 +0000)
commit5fa6bbc669c22f05deb421c324b90b30ae3caa08
tree78ce2c34869ee254f7ca69a52d085e3c75b6d425
parentdfa8fd861ca99614f03ce409584c4f9ea3e6a3da
[dev.typeparams] cmd/compile: clean up instantiation and dictionary naming

Separate generation of instantiation and dictionary name generation.

Add code to add subdictionaries to a dictionary. Not quite working
yet, as we need to trigger generation of the subdictionaries for methods.

Change-Id: I0d46053eba695b217630b06ef2f990f6a0b52d83
Reviewed-on: https://go-review.googlesource.com/c/go/+/331209
Trust: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dan Scales <danscales@google.com>
src/cmd/compile/internal/noder/stencil.go
src/cmd/compile/internal/reflectdata/reflect.go
src/cmd/compile/internal/typecheck/subr.go