v0.3.2
- Bugfix for tail-calling uncallable values. Fixes internal panics.
- Major bugfix for finalization, make sure to transition the collector
immediately toCollecting
after finalization is done. Fixes lostThread
finalization and unclosed upvalues. - Make the
type
builtin match PUC-Rio Lua by @Jengamon. - Fix Lua stack corruption during tail calls with less arguments than expected.
- Make function statements act like local / upvalue assignment when appropriate.
- Fix
math.random
andmath.log
to better match PUC-Rio Lua by @Jengamon. - Fix
select
to better match PUC-Rio Lua by @Jengamon. - Implement
math.randomseed
by @Jengamon. - Let
__index
and__newindex
chain throughUserData
in addition to
Table
. - Implement "dead keys" to make table iteration behavior match PUC-Rio Lua.
- Implement
gc_arena::Collect
forpiccolo_util::UserDataMethods
and
piccolo_util::StaticUserDataMethods
. - Implement
string.sub
,string.lower
,string.upper
,string.reverse
by
@Jengamon. - Better match PUC-Rio Lua behavior with longstring newlines.
Full Changelog: v0.3.1...v0.3.2