aboutsummaryrefslogtreecommitdiff
path: root/src/unicode
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2021-08-27 17:57:04 -0700
committerMatthew Dempsky <mdempsky@google.com>2021-08-28 01:26:53 +0000
commitef4cb2f776f1c7e861604d1b46ab8fcf2672f10d (patch)
treefd56113c780f1114df24d7e5ddbf8c15c17c97d8 /src/unicode
parent5fb177163bccb66a39516542e4b9e127ec771c1f (diff)
downloadgo-ef4cb2f776f1c7e861604d1b46ab8fcf2672f10d.tar.xz
cmd/compile/internal/types: change NewNamed to use TypeObject
Semantically, TypeObject is the interface that go/types.TypeName would implement, so we might as well use that instead of the more generic Object (analog to go/types.Object) for NewNamed. In practice, this doesn't really matter though, because we use *ir.Name for almost all Objects anyway. Also, remove VarObject: its last use was removed in CL 302071 (March 2021). Change-Id: I6e987ecd419105e09f74fc8d60cadb61bcbc751f Reviewed-on: https://go-review.googlesource.com/c/go/+/345810 Trust: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Robert Griesemer <gri@golang.org> TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/unicode')
0 files changed, 0 insertions, 0 deletions