aboutsummaryrefslogtreecommitdiff
path: root/src/text/template
diff options
context:
space:
mode:
authorDan Scales <danscales@google.com>2021-09-29 17:47:19 -0700
committerDan Scales <danscales@google.com>2021-10-05 20:57:56 +0000
commit55e7f7e12d46292e130a3b48c86bac2a6e5a1739 (patch)
tree3252e508f37c93996d02fb9ce962b42758380f00 /src/text/template
parent695a59b5139ca8791e19b84259dc85622eea47e8 (diff)
downloadgo-55e7f7e12d46292e130a3b48c86bac2a6e5a1739.tar.xz
cmd/compile: fix problem with methods of instantiated types which are nointerface
In the case of a nointerface method on an instantiated type, we still have to call methodWrapper, because methodWrapper generates the actual generic method on the type as well. Currently, we don't call methodWrapper, so the method on the instantiated type never gets filled in. Adjusted the code to still call methodWrapper, but not use the result, in the case of a nointerface method on an instantiated type. Change-Id: I34bca58de2861aa772be04eb8dd7695c5b7f3a77 Reviewed-on: https://go-review.googlesource.com/c/go/+/353369 Run-TryBot: Dan Scales <danscales@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org> Trust: Dan Scales <danscales@google.com>
Diffstat (limited to 'src/text/template')
0 files changed, 0 insertions, 0 deletions