aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/noder/helpers.go
diff options
context:
space:
mode:
authorRobert Findley <rfindley@google.com>2021-09-20 13:28:25 -0400
committerRobert Findley <rfindley@google.com>2021-09-20 18:06:25 +0000
commit988f18d61d27f75f6a21cef0aa28b8d85982a85d (patch)
tree0c2a6e87ed82bab819f67ce67fabd328d721938f /src/cmd/compile/internal/noder/helpers.go
parentb6dddaccd7e8c9c6768943918d03f455385294b9 (diff)
downloadgo-988f18d61d27f75f6a21cef0aa28b8d85982a85d.tar.gz
go-988f18d61d27f75f6a21cef0aa28b8d85982a85d.zip
go/types: export Named._Orig as Named.Origin
Export the _Orig method for Named types, and rename to Origin. As discussed in #47916, Orig is easily confused with Original, which is not as good a name. Spelling out 'Origin' resolves the ambiguity. Updates #47916 Change-Id: I377c73de82310d3f6aa0bd82dddcd60ee067155b Reviewed-on: https://go-review.googlesource.com/c/go/+/350996 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/noder/helpers.go')
0 files changed, 0 insertions, 0 deletions