Either cast arguments or crash
Example (pick a cleaner one for tests):
This works:
local lua = as3.class.luaAlchemy.LuaAlchemy.new()
local bytes = as3.class.flash.utils.ByteArray.new()
bytes.writeMultiByte([[return 42]], "UTF-8")
lua.supplyFile("test://foo.lua", bytes)
This does not (supplyFile is not even called):
local lua = as3.class.luaAlchemy.LuaAlchemy.new()
lua.supplyFile("test://foo.lua", [[return 42]])
Original issue reported on code.google.com by aglad...@gmail.com on 25 Feb 2012 at 3:39
Original issue reported on code.google.com by
aglad...@gmail.com
on 25 Feb 2012 at 3:39