Originally reported in #915
Commit: 95210d7
Input
→ View on rubyfmt.run
def foo
return unless
# comment
bar ||
baz
end
Output
→ View on rubyfmt.run
def foo
unless # comment
bar ||
baz
return
end
end
Second Output
def foo
# comment
unless bar ||
baz
return
end
end
Expected behavior
The output should be stable.
Found in: yard 0.9.44 (lib/yard/parser/ruby/legacy/statement_list.rb)
Originally reported in #915
Commit:
95210d7Input
→ View on rubyfmt.run
Output
→ View on rubyfmt.run
Second Output
Expected behavior
The output should be stable.
Found in: yard 0.9.44 (
lib/yard/parser/ruby/legacy/statement_list.rb)