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

Chris Lattner clattner at apple.com
Thu Feb 4 16:38:44 CST 2016


> On Feb 4, 2016, at 11:17 AM, Dave Abrahams <dabrahams at apple.com> wrote:
> 
> 
>> On Feb 4, 2016, at 9:29 AM, Chris Lattner <clattner at apple.com <mailto:clattner at apple.com>> wrote:
>> 
>> 
>>> On Feb 4, 2016, at 7:03 AM, Erica Sadun via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
>>> 
>>> 
>>>> On Feb 4, 2016, at 1:24 AM, Dave Abrahams via swift-evolution <swift-evolution at swift.org <mailto: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.
>> 
>> I don’t agree with you Dave, these are certainly related, but also very different operations.
> 
> They both represent source locations. 

No, they don’t, at least not in the same way.  The directive only contains the file and line.  The expressions can produce the column and function.

These are related, but different.

-Chris

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


More information about the swift-evolution mailing list