[swift-evolution] Proposal: Introduce User-defined "Dynamic Member Lookup" Types

Chris Lattner clattner at nondot.org
Fri Dec 1 00:33:35 CST 2017

> On Nov 30, 2017, at 10:31 PM, Chris Lattner <clattner at nondot.org> wrote:
> The Objective-C runtime does not track the type of members or methods.

Ok, this statement isn’t factually true: I’ll admit that there are two related things to this: the GNU ObjC runtime does track some method types, and ObjC does have @encode strings, which encode a subset of the ObjC type system.  

While both are true, neither are used by Swift AnyObject lookup, so the rest of the points still hold.


More information about the swift-evolution mailing list