[swift-evolution] [Accepted] SE-0028 Modernizing Swift's Debugging Identifiers (__LINE__, etc)

Erica Sadun erica at ericasadun.com
Thu Feb 4 09:03:02 CST 2016


> On Feb 4, 2016, at 1:24 AM, Dave Abrahams via swift-evolution <swift-evolution at swift.org> wrote:
> 
> I'm afraid we'll ultimately need to solve this some other way than by
> choosing a different name.  We're eventually going to end up with
> something meaning #sourceLocation (modulo capitalization) and that's
> obviously (IMO) going to be the right name for both entities.

On the "Renaming #line, the line control statement" thread, Brent Royal-Gordon suggests introducing a different grammar,
specifically:

#reset line=50, file="foo.swift"

that could be applied to all the newly renamed items, not just #line. Is this feasible?

-- Erica

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


More information about the swift-evolution mailing list