lua-users home
lua-l archive

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

> Does that count as violating the restriction that "you should not 
> change the value of its [the metatable's] field __mode"?

Yes (officially).

Anyway, currently this restriction is not necessary. It is there to
allow more freedom if we have to change the implementation of weak
tables in the future.

-- Roberto