lua-users home
lua-l archive

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



On Thu, Nov 5, 2009 at 5:00 PM, Mark Hamburg <mark@grubmah.com> wrote:
What about assignment? I guess if the __newindex function knows it will have a fixed number of indices there isn't a problem, but if you don't know that you need to tack the extra indices on after the value.

I completely overlooked the left-hand-side occurences issue :( It can be done, but it's not a 10 minutes hack then: it requires some contextual transformation in the `Set{ } nodes.

   -- Fabien.