Perhaps a symptom of something being overly simplistic in sugar code.
local print = as3.makeprinter(output)
print("this is printed ok")
local lua = as3.class.luaAlchemy.LuaAlchemy.new()
lua.setGlobal("print", print)
-- TODO: Check result here if pasted in a test case
lua.doString([[print("userdata is printed instead of this")]])
Note that this mode of operations not officially supported by 0.3*, so that's
not a big deal, but, still, it would be cool if we'd be able to do that.
Original issue reported on code.google.com by aglad...@gmail.com on 26 Feb 2012 at 2:12
Original issue reported on code.google.com by
aglad...@gmail.com
on 26 Feb 2012 at 2:12