-
Notifications
You must be signed in to change notification settings - Fork 6
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
False positive when multiplying with two constants #1
Labels
bug
Something isn't working
Comments
Thanks! I have a fix for this and the other case you raised but I need to clean up the code a bit more before I am happy to release it. |
Awesome! Thanks for the nice tool, I've seen this bug before and am happy to have it never happen again :) |
I am glad that you find it useful and thanks for the bug report. This issue has been fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sample code:
Outputs: "dur.go:5:17: Multiplication of durations:
2 * 24 * time.Hour
"The text was updated successfully, but these errors were encountered: