[swift-evolution] [Pitch] Introduce User-defined "Dynamic Member Lookup" Types
Chris Lattner
sabre at nondot.org
Mon Nov 20 20:03:55 CST 2017
> On Nov 15, 2017, at 9:23 PM, Brent Royal-Gordon via swift-evolution <swift-evolution at swift.org> wrote:
>
>> On Nov 15, 2017, at 8:35 PM, Paul Cantrell via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
>>
>> Q: Is there any special handling for that member name string — to handle ruby method names like `blank?`, for example?
>>
>> A: This should be the job of a language-specific interop layer.
>
> Swift has the backtick syntax for escaping keywords (`identifier`), but it doesn't allow non-identifier characters to be used in identifiers. We might explore loosening that.
Right.
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20171120/8a90f3c6/attachment.html>
More information about the swift-evolution
mailing list