We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
goreturns doesn't generate enough return parameters for the following snippet when using the -b flag to remove bare returns. goreturns -b -w file.go
goreturns -b -w file.go
file.go:
package main func temp() (a, b, c uint64, ok bool) { return }
Output:
package main func temp() (a, b, c uint64, ok bool) { return a, ok }
Expected:
package main func temp() (a, b, c uint64, ok bool) { return a, b, c, ok }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
goreturns doesn't generate enough return parameters for the following snippet when using the -b flag to remove bare returns.
goreturns -b -w file.go
file.go:
Output:
Expected:
The text was updated successfully, but these errors were encountered: