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
Big fan of Rubocop, we discovered a bug in it's autocorrect feature with certain code:
$ rubocop -V
warning: parser/current is loading parser/ruby21, which recognizes
warning: 2.1.5-compliant syntax, but you are running 2.1.4.
0.27.1 (using Parser 2.2.0.pre.8, running on ruby 2.1.4 x86_64-darwin14.0)
$ rubocop -a interpolation.rb
# interpolation.rb# Before code:'foo' =~ /fo(o)/puts"Match: #$1"# After code:'foo' =~ /fo(o)/puts'Match: #Regexp.last_match[1]'
Big fan of Rubocop, we discovered a bug in it's autocorrect feature with certain code:
It should have been produced:
The text was updated successfully, but these errors were encountered: