diff --git a/builtin/misc_helpers.lua b/builtin/misc_helpers.lua index 8b0db6c5a..526be0492 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] = "" .. k .. " = " .. dump(v, dumped) + t[#t+1] = "" .. dump(k, dumped) .. " = " .. dump(v, dumped) end return "{" .. table.concat(t, ", ") .. "}" elseif type(o) == "boolean" then