aboutsummaryrefslogtreecommitdiff
path: root/builtin/misc_helpers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/misc_helpers.lua')
-rw-r--r--builtin/misc_helpers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/misc_helpers.lua b/builtin/misc_helpers.lua
index 526be0492..743a9cfd3 100644
--- a/builtin/misc_helpers.lua
+++ b/builtin/misc_helpers.lua
@@ -57,7 +57,7 @@ function dump(o, dumped)
dumped[o] = true
local t = {}
for k,v in pairs(o) do
- t[#t+1] = "" .. dump(k, dumped) .. " = " .. dump(v, dumped)
+ t[#t+1] = "[" .. dump(k, dumped) .. "] = " .. dump(v, dumped)
end
return "{" .. table.concat(t, ", ") .. "}"
elseif type(o) == "boolean" then