[swift-evolution] multi-line string literals

Travis Tilley ttilley at gmail.com
Thu Dec 10 20:04:33 CST 2015


That would be my preference, especially since I can be lazy and re-use the
existing indentation detection code in Lexer.cpp. However, one could argue
that it could be confusing if indentation was intentional so I'd like to
hear more people weigh in on that one, especially core team members.

- Travis Tilley


On Thu, Dec 10, 2015 at 8:46 PM, Jason Dusek <jason.dusek at gmail.com> wrote:

> What do you all think about automatic dedenting of these literals? The
> excess whitespace is rarely useful; and usually spawns a dedent function
> which comes to decorate all such strings.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151210/3e9ebca6/attachment.html>


More information about the swift-evolution mailing list