lua-users home
lua-l archive

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


> My only wish is that they could be applied to function arguments, too.

There are at least two problems with <toclose> applied to function
arguments:

- it is strange that a function must close something it did not open;

- there may be a "long" distance between the time the argument is
created and the time the function actually starts running (the
computation of extra arguments, stack allocation, etc.). Any error
during that period would not close the value.

For <const> I already commented in another post.

-- Roberto