lua-users home
lua-l archive

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


> Suppose you make local copies of each and every one of the 150 values
> in the Lua 5.3 standard libraries and then set their values in _ENV to nil.
> 
> Which, if any, of the local functions are now broken?

Most probably print stops working because it calls tostring which it
expects to exist as a global. This is by design and is documented.

This is not special to 5.3. It's been like that for ages.

Are there others?