about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2024-04-10 23:41:47 -0500
committerCase Duckworth2024-04-10 23:42:39 -0500
commit6b3f33ca06db9aeb35beea44faaca1f4715f6736 (patch)
treef477b333b5463ba74f249f1d1a44058bd518ad3c
parentAdd assert_type, string value keys; fix typo (diff)
downloadlam-6b3f33ca06db9aeb35beea44faaca1f4715f6736.tar.gz
lam-6b3f33ca06db9aeb35beea44faaca1f4715f6736.zip
Change tostring to type.string
-rw-r--r--dump.lua2
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