aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
authorCuong Manh Le <cuong.manhle.vn@gmail.com>2021-08-22 12:07:14 +0700
committerCuong Manh Le <cuong.manhle.vn@gmail.com>2021-08-23 17:29:25 +0000
commitaeec6dbfe009f371021bddba13e2eb18e5d1a469 (patch)
treea7df0e5e6f98f63fc3f41f3585b3b581dbeb655f /src/cmd
parentf457ecc7f096c7e6b225003b583b989384ef0fcb (diff)
downloadgo-aeec6dbfe009f371021bddba13e2eb18e5d1a469.tar.xz
spec: add example for method value in case of embedded method
So it's clear to the reader that if "M" is a promoted method from embedded field "T", then "x.M" will be expanded to "x.T.M" during the evaluation of the method value. Fixes #47863 Change-Id: Id3b82127a2054584b6842c487f6e15c3102dc9fe Reviewed-on: https://go-review.googlesource.com/c/go/+/344209 Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/cmd')
0 files changed, 0 insertions, 0 deletions