From 6b3f33ca06db9aeb35beea44faaca1f4715f6736 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 10 Apr 2024 23:41:47 -0500 Subject: Change tostring to type.string --- dump.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) if v == x then v = "self" elseif type.lamtype(v) == "environment" then - v = tostring(v) + v = type.string(v) else v = m.dump(v, lvl+1) end -- cgit 1.4.1-21-gabe81