mirror of
https://github.com/kikito/inspect.lua.git
synced 2024-12-15 14:34:21 +00:00
fix inconsistent var name
This commit is contained in:
parent
182e6f28c1
commit
3eb9c65c7b
@ -236,12 +236,12 @@ function Inspector:putTable(t)
|
||||
local nonSequentialKeys = getNonSequentialKeys(t)
|
||||
local length = #t
|
||||
local mt = getmetatable(t)
|
||||
local to_string_result = getToStringResultSafely(t, mt)
|
||||
local toStringResult = getToStringResultSafely(t, mt)
|
||||
|
||||
self:puts('{')
|
||||
self:down(function()
|
||||
if to_string_result then
|
||||
self:puts(' -- ', escape(to_string_result))
|
||||
if toStringResult then
|
||||
self:puts(' -- ', escape(toStringResult))
|
||||
if length >= 1 then self:tabify() end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user