You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have written a simple program. It contains variables that are defined but not used. It can be successfully compiled to executable program, but when I load the package with golang analysis tool, I get the error that it is defined but not used.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I have written a simple program. It contains variables that are defined but not used. It can be successfully compiled to executable program, but when I load the package with golang analysis tool, I get the error that it is defined but not used.
err output
What did you expect to see?
I would like to see a consistent behavior of the compilation tools, either fail or both succeed.
What did you see instead?
inconsistent results
The text was updated successfully, but these errors were encountered: