Error: ThreadError(BadCall(TypeError { expected: "function", found: "nil" })
zaoqi opened this issue · comments
[zaoqi@zaoqi-pc lua]$ lua -i lang.lua
Lua 5.3.5 Copyright (C) 1994-2018 Lua.org, PUC-Rio
>
[zaoqi@zaoqi-pc lua]$ ............../luster/target/debug/luster -r lang.lua
Error: ThreadError(BadCall(TypeError { expected: "function", found: "nil" }))
Well, the error message is atrocious ofc, but this is probably becuase the tostring
function isn't even defined yet? Or possibly some other builtin function in that giant script.
Not really looking for compatibility bug reports right now, unless its something that is clearly implemented but done wrongly. There is a huge surface area of stuff that doesn't work yet, but this is known!