aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/types2/subst.go
diff options
context:
space:
mode:
authorDan Scales <danscales@google.com>2021-07-25 18:27:15 -0700
committerDan Scales <danscales@google.com>2021-07-28 03:04:12 +0000
commite00a6ec084605b773cdb87971de5b5536c0cc13e (patch)
tree2899d6b3578ee2ee51eb25e689196d4f2325e789 /src/cmd/compile/internal/types2/subst.go
parentc751e2e6ba30fc319c93b9cfe207dc7d1b48c3fb (diff)
downloadgo-e00a6ec084605b773cdb87971de5b5536c0cc13e.tar.gz
go-e00a6ec084605b773cdb87971de5b5536c0cc13e.zip
[dev.typeparams] cmd/compile: mark methods of instantiated interface types as used
Fix the cons.go missing method error. Mark all the methods of instantiated interface types as used. We could try to record all the exact methods used for generic interface types, but for now, just mark all the methods as used so that their methods are not dead-code eliminated. Change-Id: I35685eda82476244371379b97691a1b8506ef0f7 Reviewed-on: https://go-review.googlesource.com/c/go/+/337349 Trust: Dan Scales <danscales@google.com> Run-TryBot: Dan Scales <danscales@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/types2/subst.go')
0 files changed, 0 insertions, 0 deletions