[swift-evolution] [Accepted] SE-0039: Modernizing Playground Literals

Антон Жилин antonyzhilin at gmail.com
Thu Mar 10 12:53:11 CST 2016


What to do with #setline without arguments? #resetSourceLocation? Or just
remove?

Relatedly, the core team discussed changing #setline to follow camel case
> as well.  As was brought up on another thread, the syntax for #setline is
> inconsistent with the other # directives because it doesn’t use
> parentheses.  The core team discussed this a bit and recommends resyntaxing
> #setline to:
> #sourceLocation(file: "foo", line: 42)
> -Chris


- Anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160310/9cabcf15/attachment.html>


More information about the swift-evolution mailing list