mirror of
https://github.com/golang/go
synced 2024-11-05 19:36:10 -07:00
099440627f
This change ports the functionality of https://github.com/sqs/goreturns to be used as code actions on diagnostics that have missing return values. It improves on the original goreturns functionality by: - filling out empty return statements - trying to match existing return values to the required return values and then filling in missing parameters Fixes golang/go#37091 Change-Id: Ifaf9bf571c3bc3c61e672b0a2f725d8d734d432d Reviewed-on: https://go-review.googlesource.com/c/tools/+/224960 Run-TryBot: Rohan Challa <rohan@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
testdata/src/a | ||
fillreturns_test.go | ||
fillreturns.go |