-
-
Notifications
You must be signed in to change notification settings - Fork 352
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
EqualsVisitor Does Not Consider Comments #978
Comments
I think it makes perfectly sense to take a comment into account because a comment is a token which may or may not be equal to another comment token. |
I'm fine with removing the @IgnoreByEquals to consider all properties incl comments in equality. |
@monperrus: I will create a PR later this day. |
Do I have to copy the file |
… a number of bugs incl. INRIA#978
… a number of bugs incl. INRIA#978
… a number of bugs incl. INRIA#978
… a number of bugs incl. INRIA#978
… a number of bugs incl. INRIA#978
… a number of bugs incl. INRIA#978
… a number of bugs incl. INRIA#978
… a number of bugs incl. INRIA#978
I found that the
EqualsVisitor
doesn't validate comment tokens. That is, two elements are equal even though their comments are different. A simple c0.getContent().equals(c1.getCotent()) should be sufficient.The text was updated successfully, but these errors were encountered: