]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] cmd/compile: fix some issues with cons.go
authorKeith Randall <khr@golang.org>
Fri, 23 Jul 2021 22:23:57 +0000 (15:23 -0700)
committerKeith Randall <khr@golang.org>
Fri, 23 Jul 2021 23:44:49 +0000 (23:44 +0000)
commit6992dcdad9b94a2b33b957474ef0eb210d563a40
tree41123085276160fca12c71b13dadb03d84d994f7
parente6d956e1c521b948257dd20056436d133df176f6
[dev.typeparams] cmd/compile: fix some issues with cons.go

Add a test to make sure there's no invalid OCONVIFACEs when stenciling is done.

Use concrete types for the type of DOTTYPE and DOTTYPE2.

MarkTypeUsedInInterface - should we allow types with shape types
underneath? I think the itab CL will help with this (at least, for
a remaining cons.go issue).

Change-Id: I2c96d74e8daaca26cadc84ea94abb9a27c0bb240
Reviewed-on: https://go-review.googlesource.com/c/go/+/337069
Trust: Keith Randall <khr@golang.org>
Trust: Dan Scales <danscales@google.com>
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