On 18-5-2011 5:49, Peter Münster wrote:
Hans Hagen writes:
-- error: l-table.lua:565: unable to dump given function:
print(table.serialize(environment))
to be expected
And what about replacing line 565 by something like this:
handle(format("%s [%q]=loadstring(%q),",depth,k,
Hans Hagen writes:
>> -- error: l-table.lua:565: unable to dump given function:
>> print(table.serialize(environment))
>
> to be expected
And what about replacing line 565 by something like this:
handle(format("%s [%q]=loadstring(%q),",depth,k,
debug.getinfo(v).wha
On 18-5-2011 3:04, Peter Münster wrote:
Hello,
Here a test file "test.cld" to show the problem:
local t = {bla = "blub"}
-- no problem:
print(table.serialize(t))
-- error: l-table.lua:565: unable to dump given function:
print(table.serialize(environment))
to be expected
Hans
-
Hello,
Here a test file "test.cld" to show the problem:
local t = {bla = "blub"}
-- no problem:
print(table.serialize(t))
-- error: l-table.lua:565: unable to dump given function:
print(table.serialize(environment))
context.bye()
--
Peter
__