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

Crash when comparing item reps #735

Closed
ddfreyne opened this Issue Nov 26, 2015 · 1 comment

Comments

Projects
None yet
1 participant
@ddfreyne
Member

ddfreyne commented Nov 26, 2015

Comparing an item rep with anything else is always going to crash, because the #== method doesn’t check whether the compared thing is also an item rep:

def ==(other)
  item.identifier == other.item.identifier && name == other.name
end

@ddfreyne ddfreyne added this to the 4.0.1 milestone Nov 26, 2015

@ddfreyne

This comment has been minimized.

Show comment
Hide comment
@ddfreyne

ddfreyne Nov 28, 2015

Member

Fixed in #738.

Member

ddfreyne commented Nov 28, 2015

Fixed in #738.

@ddfreyne ddfreyne closed this Nov 28, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment