lua-users home
lua-l archive

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


On Mon, Nov 23, 2015 at 6:15 PM, Javier Guerra Giraldez <javier@guerrag.com> wrote:

> the "easy" solution is that those characteristics should be tied to the value, not the variable.

The problem is that userdata and tables are not handled as values; they are handled as references. All the variables that have userdata or table "values" do in fact hold references to the underlying objects. I do not think we can seriously discuss changing this aspect of the language.

Cheers,
V.