mirror of
https://github.com/golang/go
synced 2024-11-18 09:04:49 -07:00
cef9fc3bc8
The existing implementation contains strict equality rules for comparing the return type in the function declaration against the return types in the function body. This causes the code in the return statement to be incorrectly overriden with its corresponding zero value type by the fillreturns analyzer. Fixes golang/go#38707 Change-Id: I07522aaf85f2a5f811a86cbc0951ae61035ff55e Reviewed-on: https://go-review.googlesource.com/c/tools/+/236617 Reviewed-by: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
analysisinternal | ||
apidiff | ||
event | ||
fakenet | ||
fastwalk | ||
gocommand | ||
gopathwalk | ||
imports | ||
jsonrpc2 | ||
lsp | ||
memoize | ||
packagesinternal | ||
proxydir | ||
span | ||
stack | ||
testenv | ||
tool | ||
xcontext |