fix in dbg

This commit is contained in:
p.kosyh 2010-07-20 05:18:14 +00:00
parent fe4254d677
commit 6d1cf5d923

View file

@ -83,7 +83,7 @@ dump_obj = function(w)
if t then
if rc ~='' then rc = rc..'^' end
local n = '';
if isObject(ref(o)) then
if type(o) ~= 'function' and isObject(ref(o)) then
n = call(ref(o), 'nam');
if not n then n = '' else n = ' : '..n; end
end