Skip to content
Snippets Groups Projects
Commit 44fb29fa authored by Mick Jordan's avatar Mick Jordan
Browse files

use ArgumentSignature.equals in IdenticalVisitor

parent 5683c57e
Branches
No related tags found
No related merge requests found
......@@ -246,7 +246,7 @@ public abstract class Identical extends RBuiltinNode {
return false;
}
RSyntaxCall other = (RSyntaxCall) arg;
if (element.getSyntaxSignature() != other.getSyntaxSignature() || !accept(element.getSyntaxLHS(), other.getSyntaxLHS())) {
if (!element.getSyntaxSignature().equals(other.getSyntaxSignature()) || !accept(element.getSyntaxLHS(), other.getSyntaxLHS())) {
return false;
}
return compareArguments(element.getSyntaxArguments(), other.getSyntaxArguments());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment