[swift-evolution] [Revision] SE-0034 - Disambiguating Line Control Statements from Debugging Identifiers

Ben Rimmington me at benrimmington.com
Tue Mar 15 04:29:20 CDT 2016

> 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

More information about the swift-evolution mailing list