Skip to content

Commit

Permalink
Renaming to isNotPrimitive
Browse files Browse the repository at this point in the history
  • Loading branch information
JaroslavTulach committed Apr 14, 2023
1 parent 1c69c34 commit dcd484b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ boolean equalsAtoms(Atom self, Atom other, @Cached EqualsAtomNode equalsNode) {
return equalsNode.execute(self, other);
}

@Specialization(guards = "isComplex(self, other, strings, warnings)")
@Specialization(guards = "isNotPrimitive(self, other, strings, warnings)")
boolean equalsComplex(
Object self, Object other,
@Cached EqualsComplexNode complex,
Expand All @@ -250,7 +250,7 @@ boolean equalsComplex(
return complex.execute(self, other);
}

static boolean isComplex(Object a, Object b, InteropLibrary strings, WarningsLibrary warnings) {
static boolean isNotPrimitive(Object a, Object b, InteropLibrary strings, WarningsLibrary warnings) {
if (a instanceof AtomConstructor && b instanceof AtomConstructor) {
return false;
}
Expand Down

0 comments on commit dcd484b

Please sign in to comment.