[swift-evolution] [Revision] SE-0034 - Disambiguating Line Control Statements from Debugging Identifiers
dabrahams at apple.com
Tue Mar 15 10:26:46 CDT 2016
> On Mar 15, 2016, at 2:29 AM, Ben Rimmington <me at benrimmington.com> wrote:
>> On 14 Mar 2016, at 22:30, Dave Abrahams via swift-evolution <swift-evolution at swift.org> wrote:
>> on Fri Mar 11 2016, Chris Lattner <swift-evolution at swift.org> wrote:
>>> This provides syntax that looks like an imperative function call that
>>> affects the logical source location at that point in the file.
>> FWIW, to me it looks like a declarative statement about how the compiler
>> should treat the following lines of source. A name beginning with "set"
>> would be more imperative, IMO. I like declarative better.
> #pragma openVirtualFile(...)
> #pragma closeVirtualFile(...)
> #if openVirtualFile(...)
> -- Ben
I think maybe my posting wasn't clear. I'm not looking for alternatives, FWIW. I like the resolution *because* it looks declarative to me.
More information about the swift-evolution