mirror of
https://github.com/golang/go
synced 2024-11-05 14:56:10 -07:00
1c672e2dff
In the previous implementation, we kept the first variable in the return statement that matched the each given return type. Now, we keep searching for a non-"zero" value, even if we have already found a "zero" value. Change-Id: Icf0987bab90239781452319979e7a30502807e36 Reviewed-on: https://go-review.googlesource.com/c/tools/+/246917 Run-TryBot: Josh Baum <joshbaum@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
fillreturns | ||
fillstruct | ||
nonewvars | ||
noresultvalues | ||
simplifycompositelit | ||
simplifyrange | ||
simplifyslice | ||
undeclaredname | ||
unusedparams |