Closed AppAppWorks closed 2 months ago
@ahoppen please check again :)
Could a follow-up action be converting concatenation of (some CustomStringConvertible).description
into string interpolation?
e.g. 1.description + false.description
-> "\(1)\(false)"
Could a follow-up action be converting concatenation of
(some CustomStringConvertible).description
into string interpolation?e.g.
1.description + false.description
->"\(1)\(false)"
I personally wouldn’t prioritize it because I don’t think it’s a pattern that’s used terribly often but I also wouldn’t object to a PR that implements it.
All done, please have a look.
Revised, please check again!
@swift-ci Please test
@swift-ci Please test Windows
@swift-ci Please test
@swift-ci Please test Windows
fixed #1244
It's only a draft as the support for multiline string literals is not yet implemented and more tests have to be written, I also wonder if it's a good idea to also perform the action in
FormatRawStringLiteral
when performing this conversion.