Skip to content
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

dupSubExpr: rewrite with ruleguard #1081

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

cristaloleg
Copy link
Member

Slightly wip, not working by design with floats.

m.Match(`$x % $x`).
Report(`suspicious identical left and right expression near %`)

// TODO
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What exactly this TODO means? :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIR there were failures in expressions below...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants