More show what is being replaced in the warning.

This commit is contained in:
Steve Checkoway
2008-03-24 13:04:44 +00:00
parent 68e181b974
commit 4c8ec5c10b
@@ -23,8 +23,8 @@ local function MergeTables( left, right )
local f2 = val
val = function(...) f1(...); return f2(...) end
else
Warn( string.format( "%s\n\nOverriding \"%s\"",
debug.traceback(), key) );
Warn( string.format( "%s\n\nOverriding \"%s\": %s with %s",
debug.traceback(), key, type(ret[key]), type(val)) );
end
end