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

Dave Abrahams dabrahams at apple.com
Thu Feb 4 18:11:09 CST 2016


on Thu Feb 04 2016, Chris Lattner <swift-evolution at swift.org> wrote:

>> 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.

OK.

-- 
-Dave



More information about the swift-evolution mailing list