Skip to content

Conversation

ludweeg
Copy link
Contributor

@ludweeg ludweeg commented Jul 28, 2018

No description provided.

}

func (c *floatCompareChecker) warn(expr *ast.BinaryExpr) {
e := astcopy.BinaryExpr(expr)
Copy link
Member

Choose a reason for hiding this comment

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

This copy is redundant, since you're not modifying the expr.

@coveralls
Copy link

coveralls commented Jul 28, 2018

Coverage Status

Coverage increased (+0.04%) to 96.843% when pulling ade1309 on ludweeg/add_floatCompare_checker into 60bb935 on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 96.844% when pulling 6bb7f3c on ludweeg/add_floatCompare_checker into 60bb935 on master.

cristaloleg
cristaloleg previously approved these changes Jul 28, 2018
Copy link
Member

@cristaloleg cristaloleg left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@quasilyte quasilyte left a comment

Choose a reason for hiding this comment

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

LGTM. Very good.

@quasilyte quasilyte merged commit e90ba04 into master Jul 28, 2018
@quasilyte quasilyte deleted the ludweeg/add_floatCompare_checker branch July 28, 2018 09:10
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.

4 participants