diff options
author | Dan Scales <danscales@google.com> | 2021-08-05 10:17:40 -0700 |
---|---|---|
committer | Dan Scales <danscales@google.com> | 2021-08-06 19:33:52 +0000 |
commit | 110343e4a2a953a581e34e91e51cef08856b0b0a (patch) | |
tree | 3d99c74bb672e034fceea06f9fb229a25f527135 /src/cmd/compile/internal/types2/termlist_test.go | |
parent | 5e33d11e1051734b2495021aa64ed9f47fbae87e (diff) | |
download | go-110343e4a2a953a581e34e91e51cef08856b0b0a.tar.gz go-110343e4a2a953a581e34e91e51cef08856b0b0a.zip |
[dev.typeparams] cmd/compile: cleanup wrapper code for generics
Simple change - added some comments, but also removed some TODO comments
which are now done or no longer a question. Cleaned up the initial check
for generic methods.
The one remaining TODO that really needs to be done is generating
dictionary wrappers for any methods involving embedded fields. Given we
are not doing this, I think this would only affect if a struct with an
embedded field with methods was converted to an interface containing the
embedded method, and then the method was called via that interface.
Change-Id: I6a8a2885de33ad60b313c1899b659daef7550dfb
Reviewed-on: https://go-review.googlesource.com/c/go/+/340260
Trust: Dan Scales <danscales@google.com>
Run-TryBot: Dan Scales <danscales@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/types2/termlist_test.go')
0 files changed, 0 insertions, 0 deletions