[swift-evolution] [Accepted] SE-0168: Multi-Line String Literals

Brent Royal-Gordon brent at architechies.com
Sat Apr 22 03:38:47 CDT 2017


> On Apr 21, 2017, at 11:48 AM, Xiaodi Wu via swift-evolution <swift-evolution at swift.org> wrote:
> 
> This goes to my question to David Hart. Isn't this an argument for a feature to allow breaking a single-line string literal across multiple lines? What makes this a use case for some feature for _multiline_ string literals in particular?

Well, if you're breaking a string across several lines, you will want indentation stripping too. Are you suggesting we should also bring that feature to single-line string literals with escaped newlines?

-- 
Brent Royal-Gordon
Architechies

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170422/a5a71365/attachment.html>


More information about the swift-evolution mailing list