-
Notifications
You must be signed in to change notification settings - Fork 17.5k
New issue
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
flag: compiler not picking up on redefined flags #67679
Comments
|
With all due respect, that's a lazy argument. It makes the developer look sloppy if you ship out code with errors that could and, frankly, should have been prevented by |
It also makes the developer look sloppy if they don't test their binary at all before shipping it. Assuming your |
Testing code is not for the purpose of finding stupid things a linter should have picked up. |
Go version
go version go1.22.3 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
What did you see happen?
go build
returns no errorWhat did you expect to see?
Warning about flag redefined
The text was updated successfully, but these errors were encountered: