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
When using the Style/BisectedAttrAccessor Auto Correct function when multiple variables are defined, it only corrects the first variable, and deletes the other variables
Expected behavior
# Bad
attr_writer :name, :limit, :size
attr_reader :name, :limit, :size
# Good
attr_accessor :name, :limit, :size
Actual behavior
# Bad
attr_writer :name, :limit, :size
attr_reader :name, :limit, :size
# Good
attr_accessor :name
When using the Style/BisectedAttrAccessor Auto Correct function when multiple variables are defined, it only corrects the first variable, and deletes the other variables
Expected behavior
Actual behavior
Notice the lack of :limit and :size
Steps to reproduce the problem
Run rubocop against the
#Bad
codeRuboCop version
The text was updated successfully, but these errors were encountered: