diff options
author | Cuong Manh Le <cuong.manhle.vn@gmail.com> | 2021-07-22 23:54:19 +0700 |
---|---|---|
committer | Cuong Manh Le <cuong.manhle.vn@gmail.com> | 2021-07-22 17:48:41 +0000 |
commit | fca3e5c4452e8dac6c7ae028dcccc323e1d57ed5 (patch) | |
tree | b8c7c9b75feb2af318c60daca0c629d7029388b6 /codereview.cfg | |
parent | 5ba06495c1ab2c0e7f6e25260d1f92b5008c380e (diff) | |
download | go-git-fca3e5c4452e8dac6c7ae028dcccc323e1d57ed5.tar.gz |
[dev.typeparams] cmd/compile: fix missing condition in usemethod
CL 330670 simplified usemethod, but dropped the previous condition to
ensure the function have 1 or 2 result. This CL restore that condition,
and also add a test for it.
Change-Id: I434e3736785b43ceea0b386d8d9d01ad78a4ccd2
Reviewed-on: https://go-review.googlesource.com/c/go/+/336609
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: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'codereview.cfg')
0 files changed, 0 insertions, 0 deletions