[swift-evolution] [Discussion]: Renaming #line, the line control statement
Erica Sadun
erica at ericasadun.com
Thu Feb 11 16:41:29 CST 2016
https://github.com/apple/swift-evolution/pull/147 <https://github.com/apple/swift-evolution/pull/147>
-- E
> On Feb 11, 2016, at 3:30 PM, Chris Lattner <clattner at apple.com> wrote:
>
>
>> On Feb 11, 2016, at 2:30 PM, Erica Sadun <erica at ericasadun.com <mailto:erica at ericasadun.com>> wrote:
>>
>> I'm good with #setline if I can throw this one out there and cross it off my list. Chris?
>
> SGTM!
>
> -Chris
>
>>
>> -- E
>>
>>> On Feb 11, 2016, at 2:17 PM, Chris Lattner <clattner at apple.com <mailto:clattner at apple.com>> wrote:
>>>
>>> On Feb 8, 2016, at 10:09 AM, Erica Sadun <erica at ericasadun.com <mailto:erica at ericasadun.com>> wrote:
>>>>
>>>> -- E, who is casting her eye on a few other bike sheds and would like this one to be painted purple and done
>>>
>>> I’d also like to “just get this done” as well.
>>>
>>>> <https://gist.github.com/erica/8decc791e1319987eadd#detailed-design>Detailed design
>>>> line-control-statement → #resetfilecontext
>>> I don’t think this is the right word, simply because “reset” implies more than “set” and “context” sounds more general than what we’re describing here.
>>>
>>>
>>> How about:
>>>
>>> #setdiagnosticlocation
>>> #setdebuglocation
>>> #setlogicallocation
>>>
>>> … or, better yet, just go with the simple and seemingly obvious answer proposed on the other thread:
>>>
>>> #setline
>>>
>>> -Chris
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160211/559a92be/attachment.html>
More information about the swift-evolution
mailing list