Skip to content

Commit e65ac4d

Browse files
kaezaPilzAdam
authored andcommittedJun 18, 2013
Restore old output format of dump()
1 parent 2616545 commit e65ac4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎builtin/misc_helpers.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function dump(o, dumped)
5757
dumped[o] = true
5858
local t = {}
5959
for k,v in pairs(o) do
60-
t[#t+1] = "" .. dump(k, dumped) .. " = " .. dump(v, dumped)
60+
t[#t+1] = "[" .. dump(k, dumped) .. "] = " .. dump(v, dumped)
6161
end
6262
return "{" .. table.concat(t, ", ") .. "}"
6363
elseif type(o) == "boolean" then

0 commit comments

Comments
 (0)
Please sign in to comment.