[swift-evolution] [Discussion]: Renaming #line, the line control statement

Chris Lattner clattner at apple.com
Thu Feb 11 15:17:28 CST 2016


On Feb 8, 2016, at 10:09 AM, Erica Sadun <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/b541abb1/attachment.html>


More information about the swift-evolution mailing list