-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parser::Source::TreeRewriter detected clobbering during Style/RedundantBegin autocorrect #10631
Comments
This actually raises a clobbering error with only I tried changing autocorrection for The clobbering error is of the
|
…ndant_begin [Fix #10631] Fix autocorrect for `Style/RedundantBegin`
Steps to reproduce the problem
When running
rubocop --only=Style/RedundantBegin,Layout/BeginEndAlignment -d -a test.rb
against a file test.rb with the following contents:I get (among other things) this output:
RuboCop version
The text was updated successfully, but these errors were encountered: