]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: remove skipping of implicit operations during export
authorKeith Randall <khr@golang.org>
Mon, 8 Mar 2021 07:48:02 +0000 (23:48 -0800)
committerKeith Randall <khr@golang.org>
Tue, 9 Mar 2021 18:35:29 +0000 (18:35 +0000)
commit48895d021bf631f15d68ecc10cab89ebd9cb28f6
tree257a91659a7cfea887ffb1b2fc08abc35668fcec
parentb6df58bd1f3b2a05787f62bbec4267f7867d4bbd
cmd/compile: remove skipping of implicit operations during export

We'll need to attach types to these operations, so we need to
represent them in the import/export data.

Some of the operations use a selector indicating a different package,
so we need to provide an option to encode the package of a selector.
The default selector() function can't encode that extra information,
as selector's exact encoding is used by go/types.

Change-Id: I4c110fe347b3d915f88a722834bc4058baea7854
Reviewed-on: https://go-review.googlesource.com/c/go/+/299771
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/typecheck/iexport.go
src/cmd/compile/internal/typecheck/iimport.go