[swift-evolution] Changing __LINE__ to #line (was Re: [Review] SE-0022: Referencing the Objective-C selector of a method)

Dave Abrahams dabrahams at apple.com
Fri Jan 22 12:14:36 CST 2016


on Thu Jan 21 2016, Joe Groff <swift-evolution at swift.org> wrote:

>> On Jan 21, 2016, at 9:25 PM, Erica Sadun via swift-evolution <swift-evolution at swift.org> wrote:
>> 
>> Okay, you know this was coming: let's Groff this thing.
>> 
>> How about #(line) where you can decouple the specific compiler
>> implementation bits from the keyword bits without hardcoding
>> support, enabling implementation of, for example, #(runcible) for
>> future Swift compiler substitution logic.
>
> If you're going to bring me into it…I would prefer coalescing all
> these __FILE__, __LINE__, etc. things into one #sourceLocation
> structure. 

+1

-- 
-Dave



More information about the swift-evolution mailing list