Skip to content
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

Fix Style/CaseLikeIf not properly handling overriden equality methods #8624

Merged
merged 1 commit into from Aug 31, 2020

Commits on Aug 31, 2020

  1. Fix Style/CaseLikeIf not properly handling overriden equality methods

    If a class overrides one of `#==`, `#eql?`, or `equal?` and the
    overridden method has no arguments, then
    CaseLikeIf#find_target_in_equality_node would error as it assumes there
    is at least one argument.
    Skipants committed Aug 31, 2020
    Copy the full SHA
    f877e02 View commit details
    Browse the repository at this point in the history