fixed pretty.lua using tablex instead of table alias

This commit is contained in:
Max Cahill 2022-05-23 14:54:05 +10:00
parent 1e75fad409
commit 795f2587d2

View File

@ -118,7 +118,7 @@ function pretty._process(input, config, processing_state)
table.insert(chunks, internal_value(v))
end
--non sequential follows
for k, v in tablex.spairs(input) do
for k, v in table.spairs(input) do
if not seen[k] then
--encapsulate anything that's not a string
--todo: also keywords and strings with spaces