-
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: arg conditional expression can be simplified #21763
Comments
s/remove redundant check/simplify expression/ |
@alexpantyukhin feel free to submit a patch - see https://golang.org/doc/contribute.html. |
@mvdan Thanks! already did. Also reviewing the method I found that flags names allowed to contain almost all characters (for example ".myint", "?/_", "). Is it ok? Are there some constraints for console parameters names? |
Using a proposal for this is overkill, so I've removed it from the proposal list. I've reviewed your CL. In the future, for such small changes, just post the CL. Even if you're wrong, it can be discussed on Gerrit. Of course, this wouldn't apply to small changes that would be controversial or that would require lots of design and discussion. |
Change https://golang.org/cl/61491 mentions this issue: |
I have found redundant check in the
parseOne()
function.is equivalent
The text was updated successfully, but these errors were encountered: