Incorrect switching between Ruby multiline block with comment and Ruby single Line block
Expected behavior
['a'].each do |t|
# comment here
p t
end
press gJ
# comment here;
['a'].each { |t| p t }
or maybe tell the user switch failed
Steps to reproduce the problem
['a'].each do |t|
# comment here
p t
end
press gJ
['a'].each { |t| # comment here; p t }
Ruby doesn't have single line comment, that this conversion will raise a syntax error
Incorrect switching between Ruby multiline block with comment and Ruby single Line block
Expected behavior
press
gJor maybe tell the user switch failed
Steps to reproduce the problem
press
gJRuby doesn't have single line comment, that this conversion will raise a syntax error