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

Erica Sadun erica at ericasadun.com
Wed Feb 3 19:31:33 CST 2016


>> On Feb 3, 2016, at 4:39 PM, Chris Lattner <clattner at apple.com <mailto:clattner at apple.com>> wrote:
>> 
>> Proposal Link: https://github.com/apple/swift-evolution/blob/master/proposals/0028-modernizing-debug-identifiers.md <https://github.com/apple/swift-evolution/blob/master/proposals/0028-modernizing-debug-identifiers.md>
>> 
>> The review of SE-0028 "Modernizing Swift's Debugging Identifiers" ran from January 29… February 2, 2016. The proposal has been *accepted*, with modifications:
>> 
>> * The core team agrees that we should rename all of the existing __FILE__, __LINE__, __COLUMN__, __FUNCTION__, and __DSO_HANDLE__ symbols to lowercase equivalents in the # namespace: #file, #line, #column, #function, #dsohandle.  This includes keeping __FUNCTION__,
> 
> To clarify, I meant keeping the behavior of __FUNCTION__, but renaming it to #function.


>> * The core team requests that #symbol be split out into a separate proposal, because it needs more detailed design work, and is an additive feature.  For example, it might be appealing to provide a "#mangledName” expression that provides the current symbol as a mangled name: when fed into a demangler, a more structured form of the current symbol would be available.

A few q's:

* #mangledname, I presume? To retain lowercase? 
* Do you want #symbol (e.g. Swift.Dictionary.Foo(_: Int, y: CustomType)) pushed now or saved for post 3.0? (Although SE-0021 is in 2.2?)
* Will #context/#releasecontext/#debugcontext be split out to a separate proposal or dropped entirely?

And thank you all again,

-- E

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160203/6c51be3d/attachment.html>


More information about the swift-evolution mailing list