lua-users home
lua-l archive

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


Hi,

Just found out that the __index metamethod is called for x=a[nil], but
__newindex is not called for a[nil]=x -- instead the operation is
specifically forbidden. I'd rather have it called too and not throw an
error. What am I missing?