From 6d1cf5d9230e230611691fdb06887ed94c6d2952 Mon Sep 17 00:00:00 2001
From: "p.kosyh"
Date: Tue, 20 Jul 2010 05:18:14 +0000
Subject: [PATCH] fix in dbg
---
stead/dbg.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stead/dbg.lua b/stead/dbg.lua
index 4bc3788..1848d99 100644
--- a/stead/dbg.lua
+++ b/stead/dbg.lua
@@ -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