Character literals are formatted incorrectly
mihyaeru21 opened this issue · comments
Mihyaeru commented
A character literal ?"
should be formatted to '"'
but is actually converted to '\"'
. This breaks the behavior of the code.
The string literal "\""
converted in the absence of --plugins=plugin/single_quotes
is correct, so this case may not be taken into account.
Environment:
- Ruby: 3.1.4
- SyntaxTree: 6.1.1
--plugins=plugin/single_quotes