mirror of
https://github.com/golang/go
synced 2024-11-05 15:16:11 -07:00
e5d681aac7
In the previous implementation, fillreturns only altered return statements that contained too few values. Now, fillreturns also examines return statements with too many return values. In these situations, we remove any value that is a "zero value" and does not match a type in the return signature. Change-Id: I7548307234ff4b16534b72a8aead95a322eb535a Reviewed-on: https://go-review.googlesource.com/c/tools/+/246520 Run-TryBot: Josh Baum <joshbaum@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
analysis.go |