HookGG
HookGG copied to clipboard
[Bug] LuaTable部分情况下, 输出日志会显示RECURSION
输出日志中,参数LuaTable.toString()会导致RECURSION
local test = {
['test'] = function() end,
}
local env1 = {
['test1'] = test,
['test2'] = test,
}
print(env1)
{ -- table(847e8b5)
['test1'] = { -- table(836b4a)
-- *** RECURSION ***
},
['test2'] = { -- table(836b4a)
['test'] = function: @/test.lua:2-2,
},
}
附: 官方luaj的LuaValue并没有toString(), 尝试调用父类的toString()? (待尝试) GG luaj的LuaValue toString()调用dump(), 自身输出如上所述, 尝试重写dump()?