lua-users home
lua-l archive

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

On Dec 20, 2007 11:43 PM, Jean-Claude Wippler <> wrote:
> When you replace _G.print with your own code, the replacement does not
> quite do what print does.  I got the following error message:
> /usr/local/share/lua/5.1/shake.lua:169: bad argument #1 to
> 'concat' (table contains non-strings)
> My tables may contain userdata.  The reason print works, is that it
> does a "tostring" (and I have made sure all my userdata metatables
> have a useful __tostring method).

Sure, thanks for finding that.

Your patch has been applied and will be available in Shake 1.0.1.