lua-users home
lua-l archive

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

In your example, it doesn't call it because the index isn't 'new'

Hmmm, you are right (as usual). I probably got it wrong because I have tested (some time ago) if the gc calls __newindex when removing items from the table.

Next time I won't listen the voices in my head :)