lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On Sep 4, 2013, at 11:34 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:

The difficulty is that "in" expects a callable. Anything with a "__call"
metamethod is a valid target for "in".

Really? I was under the impression it wanted an _expression_ list (of which it uses only the first three items). In which case I don't see the ambiguity between __call and __in (or whatever it could be called).

--Tim