You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rubocop raises error when using redefined + method
An error occurred while Lint/BinaryOperatorWithIdenticalOperands cop was inspecting /app/uploaders/image_processors/adapters/magick/gif.rb:17:14.
undefined method `basic_literal?' for nil:NilClass
gems/rubocop-0.89.1/lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb:38:in `on_send'
gems/rubocop-0.89.1/lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
gems/rubocop-0.89.1/lib/rubocop/cop/commissioner.rb:112:in `with_cop_error_handling'
Steps to reproduce the problem
Check this code with rubocop -d --only Lint/BinaryOperatorWithIdenticalOperands
Rubocop raises error when using redefined
+
methodSteps to reproduce the problem
Check this code with
rubocop -d --only Lint/BinaryOperatorWithIdenticalOperands
RuboCop version
The text was updated successfully, but these errors were encountered: