Skip to content

Commit 011dc9c

Browse files
authored
Merge pull request #3297 from emlyn/patch-13
Non-maps should be not equal to map
2 parents d97ad3d + 2fa0a7a commit 011dc9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/server/ruby/core.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ def <=(other)
408408

409409

410410
def ==(other)
411-
other.map == @map
411+
other.class == self.class && other.map == @map
412412
end
413413

414414
def >(other)

0 commit comments

Comments
 (0)