diff options
-rw-r--r-- | dump.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dump.lua b/dump.lua index 538f606..e5e76f6 100644 --- a/dump.lua +++ b/dump.lua | |||
@@ -13,7 +13,7 @@ function m.dump (x, lvl) | |||
13 | if v == x then | 13 | if v == x then |
14 | v = "self" | 14 | v = "self" |
15 | elseif type.lamtype(v) == "environment" then | 15 | elseif type.lamtype(v) == "environment" then |
16 | v = tostring(v) | 16 | v = type.string(v) |
17 | else | 17 | else |
18 | v = m.dump(v, lvl+1) | 18 | v = m.dump(v, lvl+1) |
19 | end | 19 | end |