[swift-evolution] [Accepted] SE-0168: Multi-Line String Literals
mac at johnholdsworth.com
Fri Apr 21 15:01:54 CDT 2017
> On 21 Apr 2017, at 20:27, Ricardo Parada via swift-evolution <swift-evolution at swift.org> wrote:
> From Joe's email:
> Discussion on the list raised the idea of allowing a line to end with \ to "escape" the newline and elide it from the value of the literal; the core team had concerns about only allowing that inside multi-line literals and felt that that could also be considered later as an additive feature.
> So it sounds that can be considered in a separate proposal to be added to normal and multi-line string literals.
Sounds like the solution and would bring strings into line with the precedent in C.
Overall, the multi-line proposal held together better when it included this feature.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution