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
Seems there's an issue when parsing super with a block.
class Thing
def send_command
super { |response| }
end
end
class Thing
def send_command
super do|response|
end
end
end
1 file inspected, no offenses detected
3 errors occurred:
An error occurred while Lint/DefEndAlignment cop was inspecting /app/app/models/thing.rb.
An error occurred while Lint/UselessComparison cop was inspecting /app/app/models/thing.rb.
An error occurred while Style/SpaceAroundOperators cop was inspecting /app/app/models/thing.rb.
Errors are usually caused by RuboCop bugs.
Please, report your problems to RuboCop's issue tracker.Mention the following information in the issue report:0.37.0 (using Parser 2.3.0.2, running on ruby 2.2.4 x86_64-linux)Finished in 0.1553650630012271 seconds
The text was updated successfully, but these errors were encountered:
I'm getting the same, plus some addition errors when used with super blocks (only happened after updating from 0.36 to 0.37).
An error occurred while Lint/DefEndAlignment cop was inspecting [redacted]
An error occurred while Lint/UselessComparison cop was inspecting [redacted]
An error occurred while Style/DotPosition cop was inspecting [redacted]
An error occurred while Style/IndentationWidth cop was inspecting [redacted]
An error occurred while Style/MultilineMethodCallIndentation cop was inspecting [redacted]
An error occurred while Style/MultilineOperationIndentation cop was inspecting [redacted]
An error occurred while Style/SpaceAroundOperators cop was inspecting [redacted]
Seems there's an issue when parsing super with a block.
The text was updated successfully, but these errors were encountered: