More show what is being replaced in the warning.
This commit is contained in:
@@ -23,8 +23,8 @@ local function MergeTables( left, right )
|
|||||||
local f2 = val
|
local f2 = val
|
||||||
val = function(...) f1(...); return f2(...) end
|
val = function(...) f1(...); return f2(...) end
|
||||||
else
|
else
|
||||||
Warn( string.format( "%s\n\nOverriding \"%s\"",
|
Warn( string.format( "%s\n\nOverriding \"%s\": %s with %s",
|
||||||
debug.traceback(), key) );
|
debug.traceback(), key, type(ret[key]), type(val)) );
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user