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
1 error occurred:
An error occurred while Style/MutableConstant cop was inspecting /.
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.36.0 (using Parser 2.3.0.1, running on ruby 2.2.3 x86_64-linux)
For whatever reason we had:
CONSTANT ||= a_thing
And that appears to have confused 👮 considerably, leading to the error above.
The text was updated successfully, but these errors were encountered:
Apart from the bug, this is IMO an anti-pattern that we should probably discourage in a separate cop. If it's not known in advance it's not suitable to be a constant.
Just a heads up, found a bug in the new version:
For whatever reason we had:
And that appears to have confused 👮 considerably, leading to the error above.
The text was updated successfully, but these errors were encountered: