Style/MethodCallWithArgsParentheses
and Style/SuperWithArgsParentheses
cause an infinite loop
#12596
Labels
Style/MethodCallWithArgsParentheses
and Style/SuperWithArgsParentheses
cause an infinite loop
#12596
When omitting parentheses with
Style/MethodCallWithArgsParentheses
, it is not possible to also useStyle/SuperWithArgsParentheses
as this causes an infinite loopExpected behavior
Rubocop does not crash! And probably leaves
super
with parentheses.There could possibly be support in
Style/MethodCallWithArgsParentheses
for a list of methods that are allowed parentheses whenEnforcedStyle
isomit_parentheses
? It's possible to do the reverse when enforcing parentheses.Actual behavior
Steps to reproduce the problem
.rubocop.yml
code.rb
RuboCop version
The text was updated successfully, but these errors were encountered: