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
$ echo"%i[foo false]"| rubocop -s test -a --only Lint/BooleanSymbol
Inspecting 1 file
W
Offenses:
test:1:8: W: [Corrected] Lint/BooleanSymbol: Symbol with a boolean name - you probably meant to use false.
%i[foo false]
^^^^^
1 file inspected, 1 offense detected, 1 offense corrected
====================
%i[foo false]
Looks like this isn't crashing by chance. There's no spec for this case
Autocorrection should not try to autocorrect this case
The text was updated successfully, but these errors were encountered:
But I cannot seem to write a failing spec – the autocorrector doesn’t loop infinitely in the current version of the code, so maybe the fix should be part of #7868 (where the issue was originally reported)?
Looks like this isn't crashing by chance. There's no spec for this case
Autocorrection should not try to autocorrect this case
The text was updated successfully, but these errors were encountered: