lua-users home
lua-l archive

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


On Mar 8, 2011, at 8:08 AM, Bertrand Mansion wrote:
> Maybe Lua should add a new modifier to string.format() that would call the __tostring() metamethod in every case. 
> Unless I overlooked it (in which case, sorry for the noise)...

For a patch, see:

http://lua-users.org/lists/lua-l/2006-10/msg00020.html

e