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

Антон Жилин antonyzhilin at gmail.com
Sat Mar 12 04:17:29 CST 2016


#sourceLocation(file: "foo", line: 42)    // Set logical position.
#sourceLocation()                                // Reset logical position.

I fully support renaming of the first directive, but have a tiny concern
about the second one.
Does sourceLocation name reflect its purpose? Maybe resetSourceLocation or
something like that?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160312/9d8ab7a6/attachment.html>


More information about the swift-evolution mailing list