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
Because following string is too long, i want to split it into two line.
# version 1require"option_parser"
long_long_variable =100
foo =""OptionParser.parse do |parser|
parser.on(
"--build-args=ARGS",
"Specifies arguments for the build command, (default: #{long_long_variable}, will override --src flag)"
) do |args|
foo = args
endend
So, i change to this:
require"option_parser"
long_long_variable =100
foo =""OptionParser.parse do |parser|
parser.on(
"--build-args=ARGS",
"Specifies arguments for the build command, (default: \#{long_long_variable}, will override --src flag)"
) do |args|
foo = args
endend
Above valid crystal code always be revert to version 1 unexpected by formatter.
this issue only happen when wrapped line start with a #{..}
Thanks
The text was updated successfully, but these errors were encountered:
zw963
added
the
kind:bug
A bug in the code. Does not apply to documentation, specs, etc.
label
Dec 3, 2024
Because following string is too long, i want to split it into two line.
So, i change to this:
Above valid crystal code always be revert to version 1 unexpected by formatter.
this issue only happen when wrapped line start with a #{..}
Thanks
The text was updated successfully, but these errors were encountered: