> On Nov 20, 2017, at 10:50 AM, Slava Pestov via swift-evolution > <swift-evolution@swift.org> wrote: > > > >> On Nov 20, 2017, at 1:39 PM, Chris Lattner via swift-evolution >> <swift-evolution@swift.org <mailto:swift-evolution@swift.org>> wrote: >> >> It is straight-forward (and fits very very naturally into the Swift call >> model) to support the second one as an atomic thing, which is I think what >> you’re getting at. > > What if you write ‘let fn = obj.method’?
That’s related to the DynamicMemberLookup proposal. I’m not familiar with Ruby, but it sounds like the implementation would end up calling rb_iv_get/set to manipulate instance variables. Is that your question or are you asking something else? -Chris
_______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution